- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Secure shell problem.
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
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
02-14-2006 06:27 PM
02-14-2006 06:27 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 06:46 PM
02-14-2006 06:46 PM
Re: Secure shell problem.
check the ownership/permissions of .ssh (700) and authorized_keys(600) and ~user.
Doublecheck the key in auhtorized_keys for correctness, check for hidden linefeeds ( sometimes copy`n paste breaks single lines into multiple lines )
rgds
HGH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 06:51 PM
02-14-2006 06:51 PM
Re: Secure shell problem.
Have you checked the sshd_config file, is RSAAuthentication enable on the other one ?
Is he able to login to the other server by SSH ?
compary the sshd_config file on those two HPUX server you may find the answer
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 01:09 AM
02-15-2006 01:09 AM
SolutionTry the following
1. Check whether the user is allowed login to the second server
2. Ensure that the Second server supports Publickey authentication
grep -i "PubkeyAuthentication" /opt/ssh/etc/sshd_config
3. Make sure the permissions are correct for key files( Refer /opt/ssh/README.hp )
4. Run the server and client in debug mode for possible hints.
/opt/ssh/sbin/sshd -ddde
/opt/ssh/bin/ssh -vvv
All the best
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 06:56 AM
02-15-2006 06:56 AM
Re: Secure shell problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 07:04 AM
02-15-2006 07:04 AM
Re: Secure shell problem.
$home permissions of user on server #2 are 755 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 07:08 AM
02-15-2006 07:08 AM
Re: Secure shell problem.
ssh -vvv "other_server"
sshd -ddd - From server he/she connecting to
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 07:34 AM
02-15-2006 07:34 AM
Re: Secure shell problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 08:06 AM
02-15-2006 08:06 AM
Re: Secure shell problem.
I had the same problem with Linux and dsa.
Turns out someone changed the ownership on the /root/ home directory to mysql
Its almost always ownership or permissions.
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
02-15-2006 09:18 AM
02-15-2006 09:18 AM
Re: Secure shell problem.
On server that it is working on:
drwxr-xr-x 18 oraftp unison 1024 Jan 25 14:42 ftp
Permissions on the server that is asking for a password:
drwxr-xr-x 19 oraftp unison 1024 Feb 14 14:49 ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 10:52 AM
02-15-2006 10:52 AM
Re: Secure shell problem.
Have you tried to do a sftp between those two HPUX servers ?
Is possible you ask your customer to try scp rather than sftp, just try to see if that works
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 11:21 AM
02-15-2006 11:21 AM
Re: Secure shell problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 11:39 AM
02-15-2006 11:39 AM
Re: Secure shell problem.
First thing tomorrow I will have the customer try scp because the customer is gone now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 09:11 PM
02-15-2006 09:11 PM
Re: Secure shell problem.
1. syslog
2. sshd -ddde
3. ssh -vvv