HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to connect to hp-unix server with putty ove...
Operating System - HP-UX
1833044
Members
2579
Online
110049
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
03-09-2006 09:58 PM
03-09-2006 09:58 PM
Unable to connect to hp-unix server with putty over ssh using public/private key.
Hi,
I am getting the following error message, when connect to a HPUnix server with putty over ssh using public/private key. I have put the public key in $HOME/.ssh/authorized_keys file. I am using the private key in putty. I have used a empty passphrase, so it should allow me to connect to server without asking for password.
Using username "root".
Server refused our key
Using keyboard-interactive authentication.
Password:
Last login: Sat Mar 11 09:46:22 2006 from 172.22.45.158
#
# uname -a
HP-UX tcshp11i B.11.11 U 9000/800 768957655 unlimited-user license
# ssh -version
OpenSSH_4.2p1-hpn, OpenSSL 0.9.7i 14 Oct 2005
HP-UX Secure Shell-A.04.20.004, HP-UX Secure Shell version
Bad escape character 'rsion'.
#
I am able to connect to other HP-Unix, Linux, Solaris and AIX server with this procedure.
Please suggest,
Thanks & Regards,
-GnanaShekar-
I am getting the following error message, when connect to a HPUnix server with putty over ssh using public/private key. I have put the public key in $HOME/.ssh/authorized_keys file. I am using the private key in putty. I have used a empty passphrase, so it should allow me to connect to server without asking for password.
Using username "root".
Server refused our key
Using keyboard-interactive authentication.
Password:
Last login: Sat Mar 11 09:46:22 2006 from 172.22.45.158
#
# uname -a
HP-UX tcshp11i B.11.11 U 9000/800 768957655 unlimited-user license
# ssh -version
OpenSSH_4.2p1-hpn, OpenSSL 0.9.7i 14 Oct 2005
HP-UX Secure Shell-A.04.20.004, HP-UX Secure Shell version
Bad escape character 'rsion'.
#
I am able to connect to other HP-Unix, Linux, Solaris and AIX server with this procedure.
Please suggest,
Thanks & Regards,
-GnanaShekar-
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2006 10:00 PM
03-09-2006 10:00 PM
Re: Unable to connect to hp-unix server with putty over ssh using public/private key.
Shalom Sir,
Could be a lot of things.
On the target server:
tail -f /var/adm/syslog/syslog.log
try to connect
If its a network issue you will see nothing on the syslog. If not you will get useful diagnostics.
SEP
Could be a lot of things.
On the target server:
tail -f /var/adm/syslog/syslog.log
try to connect
If its a network issue you will see nothing on the syslog. If not you will get useful diagnostics.
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
03-09-2006 10:18 PM
03-09-2006 10:18 PM
Re: Unable to connect to hp-unix server with putty over ssh using public/private key.
post sshd -ddd from server you are trying to connect to.
There is no substitute to HARDWORK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2006 10:31 PM
03-09-2006 10:31 PM
Re: Unable to connect to hp-unix server with putty over ssh using public/private key.
Hi,
Thanks for the input.
From the logs I found that it is a permission issue on the .ssh folder & authorized_keys file in that folder. I set the permissions as below and it resolved the issue.
# ls -ld .ssh
drwx------ 2 root sys 8192 Mar 11 11:02 .ssh
# cd .ssh
# ls -l
total 48
-rw-r--r-- 1 root sys 226 Mar 11 09:47 authorized_keys
-rw-r--r-- 1 root sys 540 Mar 11 09:47 known_hosts
-rw------- 1 root sys 1024 Mar 11 11:02 prng_seed
Thanks a lot.
Thanks & Regards,
-Gnanashekar-
Thanks for the input.
From the logs I found that it is a permission issue on the .ssh folder & authorized_keys file in that folder. I set the permissions as below and it resolved the issue.
# ls -ld .ssh
drwx------ 2 root sys 8192 Mar 11 11:02 .ssh
# cd .ssh
# ls -l
total 48
-rw-r--r-- 1 root sys 226 Mar 11 09:47 authorized_keys
-rw-r--r-- 1 root sys 540 Mar 11 09:47 known_hosts
-rw------- 1 root sys 1024 Mar 11 11:02 prng_seed
Thanks a lot.
Thanks & Regards,
-Gnanashekar-
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP