when I am trying to access the server through ssh it says:
ssh: connect to host xx.yyy.zzz.x port 22: Connection refused
and on the server in auth.log
it shows following log entry:
Address xx.yyy.zzz.x maps to xx.yyy.zzz.x.static-pune-vsnl.net.in, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
I have created a user account for that user and it is also in enabled status.
Requested info
- It is Ubuntu 11.10
- It is configured as SSH Server using openssh-server
- I am trying to connect to this server using Putty from Windows 7 i.e. My Desktop
- I have also asked this in superuser as per the request of @zpletan and link to that question is given below.
https://superuser.com/questions/408080/unable-to-access-the-server-via-ssh
Thanks in advance.
The server may enables
UseDNS
.man sshd_config
to find information about this.If you have the right permission, you can modify
/etc/ssh/sshd_config
and addUseDNS no
to this file.It looks like your ISP has screwed up their DNS records. ssh appears to be complaining because when it looks up the IP address xx.yyy.zzz.x, it gets the name xx.yyy.zzz.x.static-pune-vsnl.net, but that name does not map back to the IP address, which often is an indicator that someone is trying to spoof their hostname. You should complain to your ISP to fix it, or change the setting fossilet mentioned. Such screwed up DNS records will also prevent you from connecting to most IRC servers.