HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Strange SSH problem
Operating System - HP-UX
1827838
Members
1389
Online
109969
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-26-2005 02:54 AM
04-26-2005 02:54 AM
Strange SSH problem
I have been running ssh connections between two HP box's 11i and 11.0 and Sun Solaris systems runnning 2.8 without any problems for years and using public key authenicaton. 95%+ of my connections have been one way from the 11i to the 11.0 and to the solaris systems, scp files to and retreiving from. But the other day I ssh over to one of the Sun boxs and decided to SSH back to the 11i system and it asked me for passwd authenication
So I ssh over to the 11.0 box and ssh back to the 11i system and had no problems. So the unique area is ssh from the Solaris Sun2.8 sytem to either of the HP systems 111 and 11.0 it will fail on the public key authenication. I checked the permissions of the home directories (and .ssh) on the Sun systems and they are set correctly for ssh 755.
Running SSH V 3.81.002 on the HP systems and runing Openssh 3.4p1 on the Sun Solaris2.8 sytems
So I ssh over to the 11.0 box and ssh back to the 11i system and had no problems. So the unique area is ssh from the Solaris Sun2.8 sytem to either of the HP systems 111 and 11.0 it will fail on the public key authenication. I checked the permissions of the home directories (and .ssh) on the Sun systems and they are set correctly for ssh 755.
Running SSH V 3.81.002 on the HP systems and runing Openssh 3.4p1 on the Sun Solaris2.8 sytems
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 03:34 AM
04-26-2005 03:34 AM
Re: Strange SSH problem
I would want to get those Sun Systems a little more current.
There are bugs that can cause these symptoms that were solved in later openssh releases.
Permmissions are very important on the files in .ssh
Those guidelines need to be followed precisely.
SEP
There are bugs that can cause these symptoms that were solved in later openssh releases.
Permmissions are very important on the files in .ssh
Those guidelines need to be followed precisely.
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
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
04-26-2005 03:36 AM
04-26-2005 03:36 AM
Re: Strange SSH problem
Was a public/private key pair ever setup on the solaris box and then the pubkey put in the target hpux box's authorized_keys file? If the $HOME/identity.pub id_dsa.pub or id_rsa.pub don't match any entries in the target's authorized_keys, publickey auth will fail.
if none of this helps troubleshooting, post a reply w/ this output.
from solaris box
ssh -vvv -i ~/.ssh/identity -o PreferredAuthentications=publickey hpux_hostname
replace id_dsa w/ whatever pubkey was used for the target hpux box's authorized_keys file.
Also check the hpux's syslog for sshd messages that might point out a problem.
Hope this helps,
-denver
if none of this helps troubleshooting, post a reply w/ this output.
from solaris box
ssh -vvv -i ~/.ssh/identity -o PreferredAuthentications=publickey hpux_hostname
replace id_dsa w/ whatever pubkey was used for the target hpux box's authorized_keys file.
Also check the hpux's syslog for sshd messages that might point out a problem.
Hope this helps,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 08:23 AM
04-26-2005 08:23 AM
Re: Strange SSH problem
With further review and testing, the public keys work, after updating the keys on the sun side. But I have two other sun systems that when trying to ssh to the 11i as root gets denied permission to come in, I am lookign at them and the firewall that is in between.
As always thanks for the quick response...
As always thanks for the quick response...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP