setting up ssh with ftp access
I am trying to set up my computer as a webserver that I can access over SSH. I am knowledgeable about how to get Apache Webserver going. But I am a bit unsure how to properly configure SSH. Does anybody have input it would be appreciated.
|
It all depends on what you are trying to do. If you are trying to get https working, then a quick google search leads to:
http://www.samspublishing.com/articl...&seqNum=5&rl=1 If you are trying for remote shells and secure file copying, take a look at scp and ssh. This linux.com article explains quite a bit: http://enterprise.linux.com/article....1254222&tid=89 Hope that helps. Rhys |
You should be able to grab ssh as a .rpm if it is not already installed on your system. The configuration for SSH is two-fold, client and server. The server configuration will most likely be in the /etc/ssh directory and is a file named sshd_config. The important changes to this file that I recommend for security purposes are:
PermitRootLogin no #this keeps root from ssh'ing in Protocol 2 # this keeps you from running the more flawed ver. 1 Other options are available and can be found through a `man sshd_config`. Client side settings can usually be configured statically through ~/.ssh/ssh_config however the are USUALLY (depending upon your needs) unecessary and if needed for a one time occurance can be toggled with command line options. Once the daemon is configured and running on the server you should be able to type "ssh -l $USERNAME $SERVER_IP" and be prompted for a password. Incidentally for additional security you might want to look at /etc/hosts.allow and /etc/hosts.deny files. Good luck. -Tomaczar |
All times are GMT -5. The time now is 03:50 PM. |