LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Other *NIX (https://www.linuxquestions.org/questions/other-%2Anix-55/)
-   -   my iBook takes forever to ssh into my linux boxes (https://www.linuxquestions.org/questions/other-%2Anix-55/my-ibook-takes-forever-to-ssh-into-my-linux-boxes-330353/)

johnson_steve 06-04-2005 02:49 PM

my iBook takes forever to ssh into my linux boxes
 
I can ssh into a linux box from another linux box just fine. or from my linux box int the mac just fine. but from the iBook to anything else takes a very long time before it asks for a password. it's hooked up like this:

(sorry about the periods its the only way i could make this line up right)

.......................every thing else
..............................|
airport express ------ hub ------- firewall(suse 9.0) ----- internet
base station

/
/
/
/

iBook





I've also tried plugging it into the hub it doesn't take quite as long but still longer then linux. this is the output of ssh -v:

$ ssh -v root@192.168.1.2

OpenSSH_3.6.1p1+CAN-2004-0175, SSH protocols 1.5/2.0, OpenSSL 0x0090702f
debug1: Reading configuration data /etc/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: Connecting to 192.168.1.2 [192.168.1.2] port 22.
debug1: Connection established.
debug1: identity file /Users/katiepollock/.ssh/identity type -1
debug1: identity file /Users/katiepollock/.ssh/id_rsa type 1
debug1: identity file /Users/katiepollock/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_3.9p1
debug1: match: OpenSSH_3.9p1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.6.1p1+CAN-2004-0175

-----longest pause here----- (over wifi only)

debug1: An invalid name was supplied
Cannot determine realm for numeric host address

debug1: An invalid name was supplied
A parameter was malformed
Validation error

---- more pause ---- (over wifi only)

debug1: An invalid name was supplied
Cannot determine realm for numeric host address

debug1: An invalid name was supplied
A parameter was malformed
Validation error

debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '192.168.1.2' is known and matches the RSA host key.
debug1: Found key in /Users/katiepollock/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /Users/katiepollock/.ssh/identity
debug1: Offering public key: /Users/katiepollock/.ssh/id_rsa

---- somewhat long pause ---- (only place it pauses when plugged into the hub)

debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Trying private key: /Users/katiepollock/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive

Password:

debug1: Authentication succeeded (keyboard-interactive).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: channel 0: request pty-req
debug1: channel 0: request shell
debug1: channel 0: open confirm rwindow 0 rmax 32768
Last login: Sat Jun 4 14:31:30 2005 from 192.168.1.4
Node01 root #

does anyone know why it does this or if I can fix it?

Matir 06-06-2005 11:49 AM

it looks like it may be trying to do some reverse dns lookups on the 192.168. ip address, which could hang for a bit.

johnson_steve 06-06-2005 12:48 PM

how do I stop that? I don't have a dns server on my network. I like to use ip addresses. the only time I can connect to a dns server is when I dial into the net with the firewall.


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