Operating System - HP-UX
1834434 Members
2824 Online
110067 Solutions
New Discussion

error using SSH from Linux to HP-UX 11i

 
Marcin Gonet_1
Advisor

error using SSH from Linux to HP-UX 11i

I am trying to connect from Mandrake Linux to HP-UX 11.11 with SSH v.3.50 installed.

I get:
# ssh
#

With verbose option:
# ssh -v
OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Seeding random number generator
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 0 geteuid 0 anon 1
debug1: Connecting to [] port 22.
debug1: temporarily_use_uid: 0/0 (e=0)
debug1: restore_uid
debug1: temporarily_use_uid: 0/0 (e=0)
debug1: restore_uid
debug1: Connection established.
debug1: read PEM private key done: type DSA
debug1: read PEM private key done: type RSA
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_3.5p1
debug1: match: OpenSSH_3.5p1 pat ^OpenSSH
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_2.9p2
debug1: SSH2_MSG_KEXINIT sent
Connection closed by
debug1: Calling cleanup 0x8067590(0x0)
#

In the server syslog:
May 8 11:36:58 sshd[1727]: probed from with SSH-2.0-OpenSSH_2.9p2. Don't panic.

I can connect to the server from Windows-based SSH clients without any problem.

Thanks in advance for your input.

Marcin
2 REPLIES 2
Zeev Schultz
Honored Contributor

Re: error using SSH from Linux to HP-UX 11i

Hm,strange.Client obviously has its RSA/DSA
keys generated (ssh-keygen),but As Far as I know it also should have the keys appended at
server,~/.ssh/autorized_keys1(2) files (per account authentication).Also nice to check ssh_config file on mandrake (grep -i authentication , check for RSA/public authentication)

Regards,

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
Steven E. Protter
Exalted Contributor

Re: error using SSH from Linux to HP-UX 11i

Try generating and exchanging public keys.

Document attached.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com