-   Linux - Server (
-   -   FTP Server On Root? (

jtatarin 03-13-2007 02:03 PM

FTP Server On Root?
This is probably a very silly question but.. Is it possible (or reccomended) to install a FTP server on your linux server for the root folder? I have Ubuntu 6.10 server installed and I am connecting to it VIA SSH on my LAN (as root)... When it comes to changing files it would be so much easier to change them and re-upload them using FTP to whatever folder needs to be fixed. I am used to webdesign where its easy to just download a file change it and re-upload. Unless this can also be done with SSH? Can you download a file from a server using SSH and re-upload it back?

ilikejam 03-13-2007 03:57 PM

Noooooo! (in reference to a root FTP server)

There's a utility called sftp, which emulates an FTP session, using only SSH. Use that instead.


jtatarin 03-13-2007 04:24 PM

oh nice thanks very much. Now is this sftp like putty? Is it just a client or do I need to install and run an sftp server on my server?

ilikejam 03-13-2007 04:29 PM


You'll have to have an SSH server (sshd) running on the remote machine. Then you can use sftp (or PuTTY, if you like) to transfer files to and from the local client. sftp acts just like the commandline 'ftp' program.


jtatarin 03-13-2007 07:20 PM

Oh ok. I have openssh installed and working. Thats all i need on the server side If I am understanding. I did a google search for sftp with putty and i found a different version of putty. Which I have used and have been able to log in successfully however its now quite what I was expecting. I found a manual here:

See if it works. I'll let you know if it doesn't! THanks

JimBass 03-14-2007 11:32 AM

I would also suggest not allowing root direct access through ssh, it is a security risk for the machine. At the very minimum, you should only allow ssh access for root from the LAN, so people can't even attempt to get in as root.

SSH in as your regular user, then su to root, it is many times safer.


All times are GMT -5. The time now is 12:58 AM.