Unable to connect SSH from HP-UX


 
Thread Tools Search this Thread
Operating Systems HP-UX Unable to connect SSH from HP-UX
# 1  
Old 03-20-2012
Unable to connect SSH from HP-UX

Hi,

I'm trying to connect from an HP-UX with SSH2 client(ssh2 3.1.2 on hppa1.1-hp-hpux11.00) to an SSH2 server on a VxWorks system. The SSH connection is failing with the below connection logs:
HTML Code:
> /usr/local/bin/ssh2 -v -l testuser 10.10.10.10
debug: Ssh2/ssh2.c:1391: Using file ``/etc/ssh2/license_ssh2.dat'' as license.
debug: SshLicense/sshlicense.c:144: 192 bytes (9 pairs) of attributes found.
debug: Ssh2/ssh2.c:1430: license: pki enabled = TRUE.
debug: SshAppCommon/sshappcommon.c:133: Allocating global SshRegex context.
debug: SshConfig/sshconfig.c:2355: Unable to open /devapp_users/nsdtest/.ssh2/ssh2_config
debug: Connecting to 10.10.10.10, port 22... (SOCKS not used)
debug: Ssh2/ssh2.c:2121: Entering event loop.
debug: Ssh2Client/sshclient.c:1403: Creating transport protocol.
debug: SshAuthMethodClient/sshauthmethodc.c:83: Added "publickey" to usable methods.
debug: SshAuthMethodClient/sshauthmethodc.c:83: Added "password" to usable methods.
debug: Ssh2Client/sshclient.c:1444: Creating userauth protocol.
debug: client supports 2 auth methods: 'publickey,password'
debug: Ssh2Common/sshcommon.c:559: local ip = 192.168.100.100, local port = 61217
debug: Ssh2Common/sshcommon.c:561: remote ip = 10.10.10.10, remote port = 22
debug: SshConnection/sshconn.c:1930: Wrapping...
debug: Remote version: SSH-2.0-Mocana SSH
debug: Ssh2Transport/trcommon.c:1647: lang s to c: `', lang c to s: `'
debug: Ssh2Transport/trcommon.c:1712: c_to_s: cipher aes128-cbc, mac hmac-sha1, compression none
debug: Ssh2Transport/trcommon.c:1715: s_to_c: cipher aes128-cbc, mac hmac-sha1, compression none
debug: SshKeyFile/sshkeyfile.c:373: file /devapp_users/nsdtest/.ssh2/hostkeys/key_22_10.10.10.10.pub does not exist.
debug: SshKeyFile/sshkeyfile.c:373: file /etc/ssh2/hostkeys/key_22_10.10.10.10.pub does not exist.
Host key not found from database.
Key fingerprint:
xidin-volil-sicof-vokuz-novyf-calic-velam-hivem-nesoc-fyfus-zexex
You can get a public key's fingerprint by running
% ssh-keygen -F publickey.pub
on the keyfile.
Are you sure you want to continue connecting (yes/no)? yes
Host key saved to /devapp_users/nsdtest/.ssh2/hostkeys/key_22_10.10.10.10.pub
host key for 10.10.10.10, accepted by nsdtest Tue Mar 20 2012 13:28:35 +0400
debug: SshProtoTrKex/trkex.c:702: Signature didn't match.
debug: Ssh2Common/sshcommon.c:155: DISCONNECT received: Key exchange failed.
warning: Authentication failed.
debug: Ssh2/ssh2.c:130: locally_generated = TRUE
Disconnected; key exchange or algorithm negotiation failed (Key exchange failed.).
debug: Ssh2Client/sshclient.c:1478: Destroying client.
debug: SshConfig/sshconfig.c:555: Freeing pki. (host_pki != NULL, user_pki = NULL)
debug: SshConnection/sshconn.c:1982: Destroying SshConn object.
debug: Ssh2Client/sshclient.c:1540: Destroying client completed.
debug: SshAuthMethodClient/sshauthmethodc.c:88: Destroying authentication method array.
debug: SshAppCommon/sshappcommon.c:146: Freeing global SshRegex context.
debug: SshConfig/sshconfig.c:555: Freeing pki. (host_pki = NULL, user_pki = NULL)
I tried several connection options like "-o StrictHostKeyChecking=no" but always facing the same results. Note that I'm able to connect to the SSH server from all other Windows and Linux based clients. Please let me know what could be the issue here.

Thank you.
# 2  
Old 03-22-2012
Are you using a HP ssh bundle or is it a "home" compilation?
Since you can connect to others (windows and linux) I would suspect more an compatibility issue server side Vxworks.. what about connections from WIN/linux to Vxworks?
# 3  
Old 03-22-2012
Thanks for your feedback.

Client is using HP SSH bundle.
I'm able to connect from Windows/Linux SSH clients to VxWorks but not from the HP-UX SSH client to VxWorks.

Thank you.
# 4  
Old 03-22-2012
Do you have other HP boxes you can try to connect to VxWorks? or Solaris or AIX boxes... (the encryption on linux and window are quite similar, it is not the case of HP and the others might also differ) my idea is I read some time ago issues with "not quite compatible" keys because of the way it is generated and it may be that looking on HP site you may find a patch bundle for this purpose... If I have a bit of spare time I will try to do some investigations but I am a bit lost since HP changed all their sites I have been fighting for months to get back my access to support with no success.. (It was dead simple during ITRC times...).
could you tell me using swlist -l product what (version) ssh you are using? e.g.
Code:
 Secure_Shell          A.04.40.006    HP-UX Secure Shell 
  openssh               3.9p1          openssh        
  openssh               5.2p1          openssh        
  openssl               0.9.8k         openssl

# 5  
Old 03-25-2012
Not able to try from other HP boxes at the moment, please find below swlist:
hp-ux#swlist -l product | grep ssh
SSH2 3.1.2 SSH Secure Shell

From the packet trace(attached) of the connection, it seems that the server is resetting the connection even before starting the SSH negotiation.

Thank you.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Unable to connect ASMI

After following the instructions given by resident moderator Bakunin over here https://www.unix.com/aix/279862-installed-memory-32gb-but-shows-only-16gb.html #1 Connect to ASMI #2 Configure the deconfigured memory #3 Start the machine OK, everything is fine, however now cannot connect to... (5 Replies)
Discussion started by: filosophizer
5 Replies

2. Solaris

Unable to connect using ftp

hi I am having issues when trying to connect using ftp, I am having the following error: User (10.100.48.73:(none)): moz 331 Password required for moza. Password: 530 Login incorrect. Login failed. ftp> by 221 Goodbye. I have created a user like this: useradd -g 10 -d /lam/moza -m -s... (11 Replies)
Discussion started by: fretagi
11 Replies

3. Red Hat

Unable to connect to internet

Hello, I just installed CentOS 7 (Server with GUI) and guess what I could install Virtual Box Guest additions without installing any extra package/software which is great news ! Now bad news or not so great news. My Host OS is Windows 10, Virtual Box is the virtualization software. CentOS7-1... (0 Replies)
Discussion started by: bluemind2005
0 Replies

4. Red Hat

Unable to connect Wireless

I have managed to install Broadcom BCM43228 Wireless adapter on a laptop running CentOS 5.9 using instructions at: wiki.centos.org/HowTos/Laptops/Wireless/Broadcom I had the problem "Error for wireless request "Set Encode" (8B2A): SET failed on device... mentioned on the same page and solved... (0 Replies)
Discussion started by: cooltoad
0 Replies

5. Red Hat

unable to connect remote server using ssh

hi all i am unable to connect remote server using ssh but i am able to ping the server ssh service is running. (5 Replies)
Discussion started by: nikhil kasar
5 Replies

6. UNIX for Advanced & Expert Users

Unable to connect to sqlplus from unix

Hi, I have been trying to connect to sqlplus the same way I used to do in my earlier company but I get these error messages , please suggest way out - user name - xyzuser schema name - xyzschema $ sqlplus xyzuser@xyzschema ksh: sqlplus: not found. $ sqlplus -s xyzuser@xyzschema... (5 Replies)
Discussion started by: dhirajdsharma
5 Replies

7. Shell Programming and Scripting

Unable to connect to SQL through unix

I am trying to connect to SQL plus through unix but i am getting below error 'ksh: sqlplus: not found' note i am running this from /home/xxx do i need to set any environmental variable for this. below is my code echo " hello world" sqlplus -s apps/CAF78GEN<<EOF set heading... (4 Replies)
Discussion started by: karnatis
4 Replies

8. Emergency UNIX and Linux Support

Unable to connect using SFTP

I shall explain the situation that I am facing to the best extent possible. I require some help, as this situation is an urgent one. I am trying to automate sending data from one AIX machine to another. A script runs that tries to push data received from an upstream application to another AIX... (7 Replies)
Discussion started by: ggayathri
7 Replies

9. Solaris

Unable to connect to Internet

Hi friends recently i have installed SXDE 1/08 into my machine,and i installed wifi driver also its working fine,Recently i was unable to connect to Internet,I have not changed any configurations and any installations,thing is that i got my iwk0 interface is UP and IP address also and i can... (6 Replies)
Discussion started by: srinivas2828
6 Replies

10. HP-UX

Unable to connect to HP-UX 11.11 via eXceed 7.1

Hello HP-UX Gurus, I am having issues trying to start an x-session via eXceed 7.1. When I bring up eXceed via XDMCP Braodcast I see the host name and IP Address but when I try to connect the X window does not come up. I made the modification to the following file “/etc/dt/config/Xaccess”... (2 Replies)
Discussion started by: smokie
2 Replies
Login or Register to Ask a Question