I never seen this before.
I go to ssh into a server, example ssh 198.154.33.55 and I tried the host name as well. The from ip is 198.154.33.66.
It acts like it is logging into the target 198.154.33.55 but it loops right back onto the same server 198.154.33.66. I tail -f the secure logs on 198.154.33.55 and no entry made it to the logs. I can't ping the 33.55 from the 33.66, but I can ping the other way.
I think this is a network issue on a router but not sure. I have no problems sshing and pinging four other servers in this enclave, just this one.
iptables are turned off. The interfaces eml1 look okay. /etc/hosts files look okay. resolv.conf look okay.
Not sure where to look.
JR
SSH into a server, but it stays on the same server.
-
- Posts: 1522
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: SSH into a server, but it stays on the same server.
FWIW - I got similar behaviour when I edited /etc/hosts and added more machine names to the top two 'localhost' definitions. As I was using dnsmasq at the time on that server, all the other machines immediately "became" that server.
just a thought
just a thought
Re: SSH into a server, but it stays on the same server.
The other possibility is that you've added something to your bash profile files that immediately disconnects you...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke