ssh not connecting to a remote machine.
Hi again you guys......
I have this little problem that I almost feel ashamed to bother you guys with.
I have a Debian Woody and a Mandrake 10 machines and I want to copy some archives from one machine to another - the thing is that one of these cannot copy (scp) or connect (ssh) to the other, the error I get is:
"port 22: connection refused"
I deleted the ip address that existed in the file '.ssh/known_hosts' - plus I added the correct ip address from the remote machine to the '/etc/hosts_allow' file.
What am I missing?
if u cold portscan the other machine to find out whether the port 22 was open by
or see if any firewall is running
Thanks for the hint.
Just tell me, if that is the case, how can I open the port - what command do I use? Or program?
Thank you again"!
first see if ssh is runnig on that machine by
service ssh startus
service sshd status
if it is running ,then se what firewall u r using and u need to edit ur firewall scrippt for that
another check to be made
Also check your sshd_config, if you reconfigged the sshd server to listen to port 110 for example it won't listen to port 22
it should be located in /etc/sshd/sshd_config
Sorry guys - I really feel a fool for not considering this sooner - but the problem was that i did not have the ssh program installed.
But thank you all for your time in helping a friend.
|All times are GMT -5. The time now is 09:32 PM.|