I have my VPS pretty much set up now, and want to upload some basic files to the server, which is running Ubuntu 9.10. I am using my home laptop with Windows XP and connecting to the VPS with PuTTY. How can I upload the files? Is there any ftp program, like in regular managed hostings, to just upload files with? I was thinking about ProFTPd, but don't have a clue how to get it to work.
migrated from serverfault.com May 26 '10 at 19:27
|
I'd install sshd (openssh) on the Ubuntu system (secure shell server) and then use something like filezilla to transfer the files securely over scp, or anything that supports sftp or scp to transfer them up to the server. Plain FTP sends passwords in cleartext, a definitely bad thing to do. I'd also consider installing sshd and modifying it to listen to a custom port other than 22 to ward off automated attack scans, and make sure you have a good password as well as installing a package like denyhosts to block multiple incorrect passwords (be careful not to lock yourself out, go through the config file and whitelist your own ip if you need to). |
|||||||||||||
|
|
Putty comes with a secure FTP client called |
|||
|
|
|
Bart Silverstrim's answer is good, you really don't want to install a plain FTP server on your VPS. His recommendation of WinSCP is the same I'd recommended. It's is primarily a scp/sftp client that added regular FTP/FTPS capabilities. Or, FileZilla which started as a FTP client, and later added scp, sftp & ftps capabilities. (Note: sftp == an FTP-like protocol tunneled over ssh, FTPS == Regular port 21 FTP + SSL/TLS (on another port), both protect from password sniffing) Since you pointed out your already connecting with SSH, and by default, openssh installs with the sftp server enabled, you have everything you need on the server to transfer files to and from it with these 2 programs. |
|||
|
|
|
You don't need any FTP. You have SSH access (I assume so, as you said you've configured it), that's enough. You can browse your server in e.g. nautilus, just type A note about SSH security: Best way is not to use passwords at all and authenticate with Public Keys, you also don't need the denyhosts stuff then. |
|||
|
|