Setting Up FTP client/server with vsftpd in Ubuntu 9.04
Hi All,
I currently have 4 Linux Servers installed in a test lab that I have built for my job. I am in the process of trying to get FTP to work (vsftpd is installed). I don't need an FTP GUI or anything, I can use terminal (and I don't have an internet connection, so I probably can't get one anyway). I bring up the terminal and I type FTP and I am presented with a few problems: 1. If I try to FTP to one of the other Linux Servers on the network, I get "No route to host" error. 2. If I try to FTP to the Server I am sitting on, then I am able to successfully connect, obviously. But when I do an "ls," I don't see any available files. I am assuming this is because I have not yet set up a folder for it (i.e. Windows uses "ftproot" folder). Can someone assist me in setting up vsftpd? Any help is most appreciated. I am running Ubuntu Gnome 9.04 Jaunty Jackalope for a GUI, and I am running Ubuntu Server underneath (Yes I need a GUI for what I am using the server for). |
i would first recommend not using ftp since it is antiquated and insecure.
instead consider sftp/ scp which work over ssh make sure the ssh server is running Code:
sudo service sshd status Code:
scp <user-name>@<server>:</path/to/file> <user-name>@<server>:</path/to/file> 2. this is probably because the user you log in as doesnt have any files in there $HOME directory. |
What exactly are you typing in to the ftp console ?
A normal login would be ftp <ipaddress> or ftp <domain.com> Are you logging in as a user ? Are the firewalls open to port 21 on the other machines ? How have you assigned the ip addresses ? Can you access the other machines over the network at all ? If you ftp to another machine, i.e. ftp 192.168.0.2 you will get a prompt asking for a username enter a username that exists on that machine (192.168.0.2) and you get a prompt asking for a password enter a password successfully and you get a few messages then ftp> type ls and you get a listing of that users files in their home directory. (if you've created users on the other machines there is usually something in their home folder. Try ls -al ) type pwd and it tells you where you are. However, if you just type ftp without an address you will get a prompt >ftp You then have to type open <ip_address> and do as I described above. Sorry if this is too basic, but it's hard to know how much you already know. regards Alan |
You may want to reference this http://vsftpd.beasts.org/vsftpd_conf.html
|
All times are GMT -5. The time now is 03:22 PM. |