OpenSSH and FTP access
Posted on 2006-03-27
I am running Gentoo linux on a Sun Ultra 60. I have OpenSSH installed and I generally either FTP in using SFTP or use a SSH shell to log in over the local network.
I am considering setting up FTP access from outside. I guess I need to set up port forwarding on my ADSL modem/router for port 22 for SSH.
Now what should I do next to do it properly? Ideally I want a new 'FTP' user, but really I only want 'that' user to be able to FTP in from the outside, if you know what I mean. Also I would want anyone uploading not to be able to see the contents of the directory etc, though I guess that can be taken care of by permissions on the directory.
Basically I just want some direction on how to do this correctly!