- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SSH password less login not working
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
Discussions
Discussions
Forums
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
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
тАО12-07-2010 03:37 AM
тАО12-07-2010 03:37 AM
Copied public key to destination server. but password less login is not working. But same public key, i tried with different server. it is working. please find debug output below.
debug1: Host 'xxxx' is known and matches the RSA host key.
debug1: Found key in /homeroot/.ssh/known_hosts:19
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /homeroot/.ssh/identity
debug1: Trying private key: /homeroot/.ssh/id_rsa
debug1: read PEM private key done: type RSA
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Trying private key: /homeroot/.ssh/id_dsa
debug1: read PEM private key done: type DSA
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: keyboard-interactive
OS is HPUNIX 11.31 update 6 & SSH version is
SecureShell A.05.30.009 HP-UX Secure Shell
Kindly provide your input to resolve this issue.
Regards
Shameem
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2010 03:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2010 03:45 AM
тАО12-07-2010 03:45 AM
Re: SSH password less login not working
>>> Copied public key to destination server. but password less login is not working. But same public key, i tried with different server. it is working. please find debug output below
Copied and add publick que to "authorized_keys" file
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2010 03:45 AM
тАО12-07-2010 03:45 AM
Re: SSH password less login not working
700 is home directory permission.
Regards
Shameem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2010 03:45 AM
тАО12-07-2010 03:45 AM
Re: SSH password less login not working
See some threads for your reading.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1418482
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2010 03:46 AM
тАО12-07-2010 03:46 AM
Re: SSH password less login not working
I have copied public key into authroized_keys file only :).
Regards
Shameem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2010 03:50 AM
тАО12-07-2010 03:50 AM
Re: SSH password less login not working
I tried many times. But it is not working. I tried with other destination servers. It is working. only one server, i am facing this issue.
Regards
Shameem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2010 03:57 AM
тАО12-07-2010 03:57 AM
Re: SSH password less login not working
Can you do a "loopback test" on the destination server? Create the keys (if not exist) on the destination server for the destination user.Then add the destination user's public key to authorized_keys. At last try to connect the user itself and see what happens..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2010 04:14 AM
тАО12-07-2010 04:14 AM
Re: SSH password less login not working
> working. [...]
With my weak psychic powers, I can't see the
files on a working system or on the
non-working system. Have you compared them
(content, owner, permissions)? I also can't
see the actual ssh command, or who's running
it. (Does "/homeroot/" mean that this is the
"root" user? "root" is special.)
Are the ssh server configuration files the
same?
Is there anything interesting in the system
log file(s) on the non-working system?
> debug1: Authentications that can continue: publickey,password,keyboard-interactive
> debug1: Next authentication method: keyboard-interactive
Apparently, this server hates all your key
files, or else it hates you. (That's
especially likely if you're "root".)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2010 04:31 AM
тАО12-07-2010 04:31 AM
Re: SSH password less login not working
Issue is resolved. But I am surprised...
I checked sshd_config file. PubkeyAuthentication is disbaled. I have enabled this parameter then restart secure shell. it started to working.
Also i checked in other servers, this paramter is disabled. but passwordless login is working.
So i tried to disbale it again on this server(problem server) and restarted secure shell.. it is continously working without password. No issue with this.
Do u have any idea about this?
Thank you guys for your support.
Regards
Shameem