August 7th, 2003, 07:03 AM
step by step
i am running redhat 7.2 and really need some help with setting up ssh i am completely lost.....
can anyone point me in the right direction.....
URL or just what to be done.....
i can ping my ip that no problem but cant get access via putty form my pc
the conection results in " request reset by peer "
thx for any help....
August 7th, 2003, 07:44 PM
Do you have SSH installed? The command
will return a list of ssh packages that are installed, or nothing if none are installed.
Secondly, do you have the SSH daemon running? The command
will show /usr/sbin/sshd if the SSH daemon is running.
ps aux | grep sshd | grep -v grep
August 7th, 2003, 08:57 PM
additionally, you can check if sshd is running with:
you can use this "rc" script to start and stop sshd too (use "start" or "stop" instead of status)
lastly, there is always the firewall question. for a fast check on the firewall, try:
iptables -L | grep ssh
you should see something that uses the words "ACCEPT" and "anywhere". i never use the stock firewalls that come with redhat but the stronger settings may squelch ssh connections.