Click to See Complete Forum and Search --> : OpenSSH??
lombardp
03-18-2001, 10:30 PM
I recently installed Mandrake 7.2 and would like to install OpenSSH on my computer so that my friends can have the chance to log in and learn linux as well. I downloaded the OpenSSH RPMs and installed them. I'm not sure how to open up that port to allow others to ssh to my computer. Has anyone done this that can give me a hand or point me in the right direction?
Thanks,
Pat
Kadesh
03-18-2001, 10:40 PM
How did you set up your firewall? If the answer is, "What firewall?" then the port is open, along with every other port. You just need to run the ssh server, sshd. The RPM probably installed a startup script in /etc/rc.d/* which starts it.
aph3x
03-19-2001, 03:18 AM
first, try netstat -a|grep ssh and see if the server is already running. if it is running, the output will look something like:
tcp 0 0 *:ssh *:* LISTEN
if its not running, the binary should be located in some sbin directory like /usr/local/sbin or /usr/sbin. assuming sshd is in /usr/local/sbin, to manually start the server, just type /usr/local/sbin/sshd. to have it start automatically when linux boots, youll need to write a start script in your /etc/rc.d directory.