- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SSH authentication problems
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2006 06:19 AM
09-19-2006 06:19 AM
I try to ssh from source to target. Source is a Solaris 10 box running Sun_SSH_1.1, SSH protocols 1.5/2.0, target machine is hpux 11.0 running OpenSSH_3.0p1, SSH protocols 1.5/2.0
After trying to authenticate, it just closes the connection:
ssh -v -v -v target
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /.ssh/identity
debug3: no such identity: /.ssh/identity
debug1: Trying private key: /.ssh/id_rsa
debug3: no such identity: /.ssh/id_rsa
debug1: Trying public key: /.ssh/id_dsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
Connection closed by target
debug1: Calling cleanup 0x34204(0x0)
I haven't tried to exchange the public keys, I don't really want to do that,
Interestingly, /opt/ssh directory doesn't even exist, and there is no ssdh_config file anywhere on the system. Should I create it, and why is it absent?
However, the really interesting thing is I can ssh to that machine from another hp-ux machine running 11.23 and OpenSSH 4.2.
So it seems the target doesn't like that particular Sun box, why is that? Incompatible ssh versions?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2006 06:35 AM
09-19-2006 06:35 AM
SolutionYou might find that having two versions closer to each other will help. Openssh 4.2 was very flawed on HP-UX and may require and upgrade. This could be the entire problem.
To operate properly openssh MUST have an sshd_config file. Copy one from a normal working system, restart the daemon and try again.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2006 06:47 AM
09-19-2006 06:47 AM
Re: SSH authentication problems
i guess, inetadm is the command that you will have to use to restart sshd in Solaris 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2006 06:49 AM
09-19-2006 06:49 AM
Re: SSH authentication problems
OpenSSH 4.2 is not involved, only
Sun_SSH_1.1 ----> OpenSSH_3.0p1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2006 06:52 AM
09-19-2006 06:52 AM
Re: SSH authentication problems
Also you can try to login locally using ssh whether you can login or not.
$ssh -vvv localhost
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2006 06:53 AM
09-19-2006 06:53 AM
Re: SSH authentication problems
Fact 1: I can ssh to this HP from any other machine except for Sun
Fact 2: I can ssh from Sun to any other machine except for that HP
They both work with other machines except they cannot talk to each other, what does that mean, version incompatibility?
Should I upgrade the ssh which came on Sun with OpenSSH??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2006 06:59 AM
09-19-2006 06:59 AM
Re: SSH authentication problems
Fact 2: I can ssh from Sun to any other machine except for that HP
They both work with other machines except they cannot talk to each other, what does that mean, version incompatibility?
Should I upgrade the ssh which came on Sun with OpenSSH??
================================
Then definitely you have version incompatibility. You need to upgrade ssh on HP so that you can talk to Sun Solaris server using ssh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2006 06:59 AM
09-19-2006 06:59 AM
Re: SSH authentication problems
It is always better to run 4.x when it comes to OpenSSH. It doesn't matter to be a Sun or HP.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2006 07:03 AM
09-19-2006 07:03 AM
Re: SSH authentication problems
I presume I can save the .ssh directory and then just put it back so I don't have to regenerate the keys? I am not sure at this point if the old keys are needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2006 07:04 AM
09-19-2006 07:04 AM
Re: SSH authentication problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2006 07:07 AM
09-19-2006 07:07 AM
Re: SSH authentication problems
For HP-UX, http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
For Solaris
http://www.sunfreeware.com/
-Arun