LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-17-2014, 07:46 AM   #1
Jeronimo Barros
LQ Newbie
 
Registered: Oct 2010
Location: Brazil
Distribution: Slackware since 1996
Posts: 16

Rep: Reputation: 0
openssh-6.7p1-x86_64-2_slack14.1 problems


Guys,

I've just applied the last openssh patch (openssh-6.7p1-x86_64-2_slack14.1 - previous package: openssh-6.6p1-x86_64-3_slack14.1) and now I can't ssh to other servers.

I'm getting a weird error:
Code:
OpenSSH_6.7p1, OpenSSL 1.0.1j 15 Oct 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to test2 [192.168.0.126] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.7
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1
debug1: match: OpenSSH_6.6.1 pat OpenSSH_6.6.1* compat 0x04000000
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr umac-64-etm@openssh.com zlib@openssh.com
debug1: kex: client->server aes128-ctr umac-64-etm@openssh.com zlib@openssh.com
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
Is anyone having the same problem ? I didn't find much help at google...

Thanks in advance for any help.

Best regards, Jero
 
Old 12-17-2014, 08:18 AM   #2
Labinnah
Member
 
Registered: May 2014
Location: Łódź, Poland
Distribution: Slackware-current
Posts: 185

Rep: Reputation: 112Reputation: 112
I don't see any critical errors here. These are only some local nonexistent cert errors. RSA one exists, and this should be enough. If you paste whole debug output, then you didn't get "Server host key" from server. You should get next line like this:

Code:
debug1: Server host key: ECDSA a4:47:54:ae:20:ff:...
So I suspect some networking problem.
 
Old 12-17-2014, 10:57 AM   #3
Jeronimo Barros
LQ Newbie
 
Registered: Oct 2010
Location: Brazil
Distribution: Slackware since 1996
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Labinnah View Post
So I suspect some networking problem.
As I said, it's a weird problem, not a networking problem. Everything was OK before the update was applied. sshd for example is working fine and I can access the server via the network (what I'm doing right now), only ssh is not working anymore.

I tried to ssh others servers (that was OK before the patch) with and without the .ssh directory populated. Another test I did before was to diff the ssh_config file with another one from other server with the openssh-6.6p1-x86_64-3_slack14.1 installed and there is no difference.

So, any hint ?

Jero
 
Old 12-17-2014, 03:22 PM   #4
mancha
Member
 
Registered: Aug 2012
Posts: 484

Rep: Reputation: Disabled
That's strange. I'm wondering if this might be network-related - maybe packet lengths.

Can you provide the output of two things:

Code:
# ip link
And also run the following while ssh'ing out and provide the output (change to the appropriate iface if not eth0):

Code:
# tcpdump -i eth0 port 22
--mancha


P.S. If you don't want to share source and/or destination addresses, you can scrub them from the tcpdump output with sed or something
before posting (use a.b.c.d for source and w.x.y.z for dest or so).

Last edited by mancha; 12-17-2014 at 04:25 PM. Reason: add postscript
 
Old 12-17-2014, 03:34 PM   #5
Labinnah
Member
 
Registered: May 2014
Location: Łódź, Poland
Distribution: Slackware-current
Posts: 185

Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by Jeronimo Barros View Post
sshd for example is working fine and I can access the server via the network (what I'm doing right now), only ssh is not working anymore.
I mean more obscure errors, like wrong firewall rules, not general network problem. You can try ssh localhost - you probably haven't any not standard configuration there.


You can also "strace" ssh session to see where ssh process sleep or enter endless loop.
 
Old 12-17-2014, 04:24 PM   #6
Jeronimo Barros
LQ Newbie
 
Registered: Oct 2010
Location: Brazil
Distribution: Slackware since 1996
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mancha View Post
That's strange. I'm wondering if this might be network-related - maybe packet lengths.
Mancha, you and Labinnah are right about the packet length and network problem.

The server was installed from an image of an production server and that server was on a 9000 bytes MTU network, but this new server is being installed and configured on an 1500 bytes MTU network. I changed the MTU and now the applications that use the ssh are working.

Curiously, until the update everything was working fine. Because of it I didn't check all the network configurations.

Thank you all again, without these hints probably I would spent the night trying to figure out the problem.

Best regards, Jero
 
  


Reply

Tags
ssh



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
Why shouldnt I use OpenSSH_6.7p1 with my Slackware 12.0 ? czezz Slackware 5 12-02-2014 02:08 PM
mpich-1.2.7p1 ruchir.behal Linux - Software 3 02-16-2012 01:33 AM
Problems with OpenSSH on Android Stefan3 Linux - Mobile 3 10-28-2011 08:10 AM
Installing OpenSSH-5.2 Red Hat Enterprise 5 X86_64 lucass Linux - Newbie 4 10-19-2009 01:24 PM
ipm timed out error on Red Hat 2.6.9-67.0.22.ELsmp #1 SMP x86_64 x86_64 x86_64 GNU/L bellnarm Linux - Newbie 0 07-07-2009 04:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:10 AM.

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
Open Source Consulting | Domain Registration