LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-16-2008, 09:13 AM   #1
mbh23
LQ Newbie
 
Registered: Oct 2008
Posts: 3

Rep: Reputation: 0
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??
 
Old 10-16-2008, 09:20 AM   #2
mackdav
Member
 
Registered: Feb 2005
Distribution: RHEL, CentOS
Posts: 113

Rep: Reputation: 16
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?
 
Old 10-16-2008, 09:24 AM   #3
mbh23
LQ Newbie
 
Registered: Oct 2008
Posts: 3

Original Poster
Rep: Reputation: 0
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??
 
Old 10-16-2008, 10:11 AM   #4
AuroraCA
Member
 
Registered: Jul 2008
Location: Northern CA USA
Distribution: Ubuntu, Slackware, Gentoo, Fedora, Red Hat, Puppy Linux
Posts: 370

Rep: Reputation: 35
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?
 
Old 10-16-2008, 10:56 AM   #5
mbh23
LQ Newbie
 
Registered: Oct 2008
Posts: 3

Original Poster
Rep: Reputation: 0
I either get unknown host when i go by hostname or host is unreachable when i go by IP
 
Old 10-16-2008, 11:14 AM   #6
mackdav
Member
 
Registered: Feb 2005
Distribution: RHEL, CentOS
Posts: 113

Rep: Reputation: 16
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
putty ssh login in Linux server alexz Linux - General 5 06-08-2007 12:22 PM
Problems with remote connection bet. Linux and Win using SSH and Putty cucolin@ Ubuntu 4 10-02-2006 10:53 PM
SSH connection from Linux to Windows using PuTTy legendaryhwk Linux - Security 2 04-05-2006 06:34 PM
putty,ssh etc problems Braveheart1980 Linux - General 10 01-06-2006 12:46 PM
Is there a Putty (SSH GUI) for Linux? Pcghost Linux - Software 10 06-06-2003 07:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration