Newbie newbie question about ubuntu and a ftp

Soldato
Joined
20 Oct 2002
Posts
3,348
Location
Bromley
Just need a basic ftp to be running on my remote ubuntu box for when i need to upload stuff from work to pick up when im back home again.

I could use wine and use something windows bases but is there anything gfx based a complete and utter novice could run.

PS i know nothing no commands or anything, just to make it clear a baby probably knows more.
 
Why not use scp? Install and configure openssh on the linux box, get a client like winscp (assuming your work box is wintel!) and job done. Probably more secure than ftp to boot (assuming you use an rsa key and disable password logons).

EDIT: I'm sure there are plenty of good guides to setting up ssh access (required as scp uses similar protocols) for your distro on the web. Once set up - open a connection and then drag and drop what you want to the remote machine.
 
Last edited:
Set up OpenSSH on the Ubuntu box as mentioned.
You can then use a Windows GUI tool or Nautilus on Gnome to send and receive files over SSH.
 
Do a Google search. It will be good practice if you intend to use Linux more.

Either way you will have to sort out the server end. Be it setting up ftp software or enabling SSH. To send and receive files you don't need to do anything special as Nautilus file browser can browse a SSH server like it's a normal folder.
 
scp using winscp (the windows client bit) and openssh (the linux bit) would do the trick nicely providing you are willing to open your firewall to ssh and work allow you to connect to ssh externally.
 
scp using winscp (the windows client bit) and openssh (the linux bit) would do the trick nicely providing you are willing to open your firewall to ssh and work allow you to connect to ssh externally.

The former is not really a problem. Default config for ssh disables root access (a good thing) and you can easily change the port to something non-standard either via your router - assuming it supports target ports - or via the config file of sshd. The config file is located at /etc/ssh/sshd_config - change the line that says "#Port 22" "Port 21" (ftp port) - or whatever port pleases you (again assuming that your work allows traffic over said port) and restart sshd / your computer.

But this really isn't necessary unless you're paranoid!
 
I suppose it would be "better practice" to disallow root logons via ssh. Although the OP would be quite unlucky to be hacked imo (password strength pending.) :D
 
If your installing openssh on the linux box the you may as well just use sftp over scp, it requires no more setup and lets you just use filezilla etc from the windows box.
 
ive got round to installing ssh but i dont really understand it after that. i dont know what it means by configuring ssh.

if i try and connect with file zilla over ssh my windows box gets the rsa key but i get no further.

Obviously i have to set up what folder i want shared and permissions but how?



https://help.ubuntu.com/6.06/ubuntu/serverguide/C/ftp-server.html


followed the above, how do i set what folder i want to share on the ftp? what ports it on?

file zilla connects but authentification fails

AHA if i connect over normal ftp o can connect and authenicate but there is no folder in there obviously

EDIT aha if i enter my user and pass it lets me into the home directory even though anonymous is allowed! very odd. I really dont understand what ive done i just hope its secure.

My main issue is id like to set a home folder so if anyone needs any files they are in one place otherwise they are gonna have to navigate all over the place.
 
Last edited:

My preference is always for ssh as it's a lot more secure than ftp, but as you have something up and running, go with that :)

If you feel like trying ssh/scp at a later date - this looks like a good article to help you sort out RSA keys. WinSCP can use PuTTY private key files as well and you get a nice GUI on the Windows box (obviously - you don't have to use the PuTTY client, which is CLI only)
 
ive got a ftp running some how.......it uses ssh as the ftp programs have to download a key first.

BUT when ever i connect it connects to the root.

How do i set it to just access a certain folder so its a bit more secure.
 
sorry been away thats a bit beyond me...............all i want is to display a folder named documents for example.
 
On your remote box run

sudo apt-get install openssh-server

that enables your ubuntu box to be accessed remotely via sftp

then you need an SFTP client for your windoze / whatever machine

then from that client open a connect to

sftp yourusername@mystupidubuntubox
or sftp yourusername@theipofmyretardedubtunubox

and hey presto your done.
 
no you mis understand me...................

I can connect to the ftp but its connecting me to the root folder. I want it to go to just one folder when i connect
 
Back
Top Bottom