Mykle87
April 13th, 2009, 12:44 PM
I have been thinking a lot of ssh/sftp recently as you could tell by my recent thread (http://ubuntuforums.org/showthread.php?t=1115472). I want to outline my ideal setup to see if it is at all possible. Please share your thoughts with me.
I want to have an Ubuntu Server box with openssh installed. I want to be able to have full access to the box with my username. I want to have 1 or 2 other users to only have sftp access. I found this chrooted ssh/sftp tutorial (http://www.howtoforge.com/chrooted-ssh-sftp-tutorial-debian-lenny) that should solve the users restriction issue. The next step is security. I like the idea of having a RSA key to keep my system and network fully secured. I want my username to use a RSA key plus passphrase and I want the other users to have a separate RSA without passphrases. Is this even possible? If I give some friends a RSA key, will they be able to log in under my username? How could I securely give them the key over the internet? Would a RSA key be too difficult for my end users who do not have high computer skills? Is this setup too complex?
This will turn into a fun little summer project for me. I want this box to be a home server for sharing media on the lan and using it as a sort of "thumb drive" on the internet. I'm sure I will create other threads to address some other server functions but I will get to that when the time comes. Everyone's thoughts are greatly appreciated.
I want to have an Ubuntu Server box with openssh installed. I want to be able to have full access to the box with my username. I want to have 1 or 2 other users to only have sftp access. I found this chrooted ssh/sftp tutorial (http://www.howtoforge.com/chrooted-ssh-sftp-tutorial-debian-lenny) that should solve the users restriction issue. The next step is security. I like the idea of having a RSA key to keep my system and network fully secured. I want my username to use a RSA key plus passphrase and I want the other users to have a separate RSA without passphrases. Is this even possible? If I give some friends a RSA key, will they be able to log in under my username? How could I securely give them the key over the internet? Would a RSA key be too difficult for my end users who do not have high computer skills? Is this setup too complex?
This will turn into a fun little summer project for me. I want this box to be a home server for sharing media on the lan and using it as a sort of "thumb drive" on the internet. I'm sure I will create other threads to address some other server functions but I will get to that when the time comes. Everyone's thoughts are greatly appreciated.