Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
cancel
Showing results for 
Search instead for 
Did you mean: 

ssh not connecting

SOLVED
Go to solution
fizan
Super Advisor

ssh not connecting

$ sftp -v nishara@50.50.50.4
Connecting to 50.50.50.4...
OpenSSH_3.7, SSH protocols 1.5/2.0, OpenSSL 0.9.7c 30 Sep 2003
HP-UX_Secure_Shell-A.03.71.006.%ic71N, HP_UX Secure Shell version
debug1: Reading configuration data /opt/ssh/etc/ssh_config
debug1: Connecting to 50.50.50.4 [50.50.50.4] port 22.
debug1: connect to address 50.50.50.4 port 22: Connection refused
ssh: connect to host 50.50.50.4 port 22: Connection refused
Connection closed
4 REPLIES
Vijaya Kumar_3
Respected Contributor
Solution

Re: ssh not connecting

It looks to me as a simple error which means that the remote server 50.50.50.4 does not run the SSH server at port 22 OR there is some network connectivity to the IP 50.50.50.4.

Please check if ping or tracert or some other network connectivity works, also if the server 50.50.50.4 is behind a firewall, it may not be possible...

Regards
Vijay Chinnasamy
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Vijaya Kumar_3
Respected Contributor

Re: ssh not connecting

...OR the remote server may be down if you feel the network is fine and working.
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
fizan
Super Advisor

Re: ssh not connecting

excat point from vijay , gr8 thanks for timely help!!
Steven Schweda
Honored Contributor

Re: ssh not connecting

> [...] Connection refused

> ..OR the remote server may be down if you
> feel the network is fine and working.

I don't think so. Normally, "Connection
refused" means that you can communicate with
the other system, but it's not offering the
requested service.

> excat point from vijay

Which one? The right one (remote sshd not
running) or the wrong one (remote server
down)?