Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Hardware > ARCHIVES - Laptop Support
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Laptop Support Questions specific to laptop computers running SUSE Linux

 
Page 1 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 16-May-2008, 16:34
BenH
Guest
 
Posts: n/a
Default

Hi All,

I've just today received a HP2133 running SLED10, and although SLED is going to get replaced as soon as I have 11 on a USB key one thing is annoying me.

Every time I try to SSH to another box as soon as it tries to connect after inputting the password SSH will hang. ssh_config is identical to the one that works flawlessly on my 10.3 install, iptables is turned off and theres nothing in the logs.

I seem to recall a similar issue with either 9.3 or 10 but cant remember how I fixed it. Before I break out wireshark, can anyone think of where I'm going wrong?

Cheers!
  #2 (permalink)  
Old 29-May-2008, 18:17
kjackson
Guest
 
Posts: n/a
Default

I have the exact same symptom. I turned on logging and in /var/log/messages I see the box connect but the box where I ssh'd from just hangs. Eventually the log shows a timeout.

Any help would be appreciated.

Quote:
Hi All,

I've just today received a HP2133 running SLED10, and although SLED is going to get replaced as soon as I have 11 on a USB key one thing is annoying me.

Every time I try to SSH to another box as soon as it tries to connect after inputting the password SSH will hang. ssh_config is identical to the one that works flawlessly on my 10.3 install, iptables is turned off and theres nothing in the logs.

I seem to recall a similar issue with either 9.3 or 10 but cant remember how I fixed it. Before I break out wireshark, can anyone think of where I'm going wrong?

Cheers!
[/b]
  #3 (permalink)  
Old 29-May-2008, 19:25
ken_yap
Guest
 
Posts: n/a
Default

Have you tried using the -v option with ssh to observe the progress of the connection? That should tell you where it stops.
  #4 (permalink)  
Old 29-May-2008, 20:37
kjackson
Guest
 
Posts: n/a
Default

Using -v this is what I get after putting in my password:

Password:
debug1: Authentication succeeded (keyboard-interactive).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8

then it just hangs.


Quote:
Have you tried using the -v option with ssh to observe the progress of the connection? That should tell you where it stops.
[/b]
  #5 (permalink)  
Old 29-May-2008, 20:50
ken_yap
Guest
 
Posts: n/a
Default

What's in the log on the remote end? Have you been able to ssh in using another client? Also what are the versions of ssh on each end?
  #6 (permalink)  
Old 29-May-2008, 21:03
kjackson
Guest
 
Posts: n/a
Default

The log on the other end says:

May 29 21:50:43 sshd[5673]: Accepted keyboard-interactive/pam for jackson from 192.168.0.3 port 36207 ssh2
May 29 21:51:43 sshd[5700]: Received disconnect from 192.168.0.3: 2: Timeout, server not responding

The versions are sshing from openssh 4.1P and to openssh 4.2

Quote:
Using -v this is what I get after putting in my password:

Password:
debug1: Authentication succeeded (keyboard-interactive).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8

then it just hangs.
[/b]
  #7 (permalink)  
Old 29-May-2008, 21:23
ken_yap
Guest
 
Posts: n/a
Default

Those are actually 2 different processes, although the second one may have been spawned by the first.

Again, have you been able to ssh in with another client? Or even from the server to itself.
  #8 (permalink)  
Old 29-May-2008, 21:27
kjackson
Guest
 
Posts: n/a
Default

The box I'm sshing from I use all the time to ssh into many different boxes. The other box (hp2133) that I'm trying to ssh into is a new box and haven't been able to ssh into or out of that box.

Attempting to ssh from the HP2133 to any other box hangs the same way.

Quote:
Those are actually 2 different processes, although the second one may have been spawned by the first.

Again, have you been able to ssh in with another client? Or even from the server to itself.
[/b]
  #9 (permalink)  
Old 29-May-2008, 21:37
ken_yap
Guest
 
Posts: n/a
Default

So the problem is with the server on the hp2133 then? I would suspect iptables or apparmor. You'd have to dig into the logs for more messages, or worst comes to the worst, do a strace on the server process.
  #10 (permalink)  
Old 29-May-2008, 22:22
kjackson
Guest
 
Posts: n/a
Default

Server and client on the 2133. I can't ssh into nor out of that box. I tried disabling apparmor and it didn't help. I'll keep digging.

Thanks for your help!!

Quote:
So the problem is with the server on the hp2133 then? I would suspect iptables or apparmor. You'd have to dig into the logs for more messages, or worst comes to the worst, do a strace on the server process.
[/b]
 
Page 1 of 2 1 2

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2