I am using Putty to ssh into some of the servers that I work on. I am able to connect all others except the one. Although I was able to connect to it before. Whenever I try connecting to it, it always give me error:
Unable to open connection on myhost: Host does not exist
My firewall is off and I have even re-installed putty but that did not fix it. When I tried connecting to the same server using putty on some other windows system, I was able to do so. I searched regarding this on Internet but did not find much relevant.
I am running putty on Windows 7.
What can be the possible issue?
If a network error show with Connection Refused message, make sure that the server is configured, check if the port used is the same as your setup or look at your firewall and make sure PuTTY is not blocked.
1 The host name section. The top box on the Session panel, labelled 'Specify your connection by host name', contains the details that need to be filled in before PuTTY can open a session at all. The 'Host Name' box is where you type the name, or the IP address, of the server you want to connect to.
Open Putty and enter your Hostname or IP Address in the Hostname or IP Address field. The default port will be 22. Click on the Open button to open the command line window. In the command line window type in the SSH username at the login as prompt and press enter on your keyboard.
As I understand you have three computers involved. At the same time one connection is working and the other one fails. So we can exclude that the ssh daemon on your linux box is hanging.
In lack of knowing their real names I will call your computers linuxbox
(this is the computer you want to ssh into), win7ok
(that is the computer that you are able to ssh from using putty) and win7fail
(that obviously is the computer you can't connect from).
Please do a tracert
from both Win7 computers:
tracert linuxbox.your.domain
tracert linuxbox
Add the results to your question as it will help us find out what is happening.
Perhaps it is also a good idea to determine the ip address of the linuxbox from win7ok:
ping linuxbox
or
nslookup linuxbox
Then try to connect from win7fail by using the ip address of the target computer, perhaps it is only a DNS problem (which might be as nmap is failing too).
To make all of this easier to understand for us please provide the real names of the computers as you use them in putty.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With