LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   linux ssh, putty problems (https://www.linuxquestions.org/questions/linux-networking-3/linux-ssh-putty-problems-676808/)

mbh23 10-16-2008 09:13 AM

linux ssh, putty problems
 
I recently changed the IP addresses of my linux computers. I can ping the computers no problem. I can ssh and putty into some of the computers by using the IP address. I can't ssh or putty into any of them by using the name. Some of the computers I can't ssh or putty into at all using the IP or the name. All of the computers are working fine if your actually sitting there and using them. If you do a ping scan you can see the IP's and there names. Any suggestions??

mackdav 10-16-2008 09:20 AM

You changed the IP addresses. Did you change any naming service (DNS, NIS, /etc/hosts) on the affected client nodes?

There's nothing simple like bad iptables on the target nodes? sshd is running? Is there anything in the affected target nodes log files?

mbh23 10-16-2008 09:24 AM

the dns server was changed over as well. Like I said if you do a ping sweep you can see the name of the computer along with the IP. Yes ssh is running on all computers. Which log files are you referring to??

AuroraCA 10-16-2008 10:11 AM

What is the error message that you get when you try? Are you refused access? You just say you can't but what actually happens?

mbh23 10-16-2008 10:56 AM

I either get unknown host when i go by hostname or host is unreachable when i go by IP

mackdav 10-16-2008 11:14 AM

Sounds like a iptables sending you a REJECT result. Look in /var/log/messages and use the command dmesg.

On the server, check iptables:

# iptables -nL


All times are GMT -5. The time now is 07:31 AM.