t00ned
02-05-2002, 09:33 AM
I've got this curious issue with ssh.
I had ssh working fine to a coupel hosts and had it working with authorized_keys files on the other ends (remote ends).
Since the the last software update I think, some of those sites are unreachable when trying to ssh to their name. However, ssh'ing to their ip works fine.
When I
$ ssh domainname.com
It sits there and does nothing. Verbose output indicates:
ssh -v domainname.com
OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
debug1: Reading configuration data /etc/ssh_config
debug1: Seeding random number generator
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 501 geteuid 501 anon 1
debug1: Trying again...
debug1: Trying again...
debug1: Trying again...
Secure connection to domainname.com refused.
A tcpdump on the other side of the connection indicates that no traffic is being received by the remote server.
I can telnet to the remote server by name. I can ftp to the remote server by name. I cannot scp to the remote server by name.
Also of note, I can ssh fine, even using the authorized_keys login using the ip of the server.
I have clobbered my entire .ssh directory, which did not help.
Any ideas on this? It's very odd. Works fine with ip, but not with name space. Also of note, it performs the same on different networks using different nameservers, so I don't think it's a nameservice issue. It doesn't even seem to be querying name service when I use the name.
Also, any new server I try to go to, it works fine. It only appears to be machines I've been to before. It might also be machines I've been to before that I had passwordless login setup using authorized_keys, although I'm not 100% sure of that.
I had ssh working fine to a coupel hosts and had it working with authorized_keys files on the other ends (remote ends).
Since the the last software update I think, some of those sites are unreachable when trying to ssh to their name. However, ssh'ing to their ip works fine.
When I
$ ssh domainname.com
It sits there and does nothing. Verbose output indicates:
ssh -v domainname.com
OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
debug1: Reading configuration data /etc/ssh_config
debug1: Seeding random number generator
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 501 geteuid 501 anon 1
debug1: Trying again...
debug1: Trying again...
debug1: Trying again...
Secure connection to domainname.com refused.
A tcpdump on the other side of the connection indicates that no traffic is being received by the remote server.
I can telnet to the remote server by name. I can ftp to the remote server by name. I cannot scp to the remote server by name.
Also of note, I can ssh fine, even using the authorized_keys login using the ip of the server.
I have clobbered my entire .ssh directory, which did not help.
Any ideas on this? It's very odd. Works fine with ip, but not with name space. Also of note, it performs the same on different networks using different nameservers, so I don't think it's a nameservice issue. It doesn't even seem to be querying name service when I use the name.
Also, any new server I try to go to, it works fine. It only appears to be machines I've been to before. It might also be machines I've been to before that I had passwordless login setup using authorized_keys, although I'm not 100% sure of that.