- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- Re: passwordless login to HP-UX server from window...
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
тАО01-29-2006 10:18 PM
тАО01-29-2006 10:18 PM
passwordless login to HP-UX server from window's client using putty
Ajoy Sonowal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2006 10:16 PM
тАО02-01-2006 10:16 PM
Re: passwordless login to HP-UX server from window's client using putty
Placing the SSH public keys will not help. Check out the permissions of the $HOME/.ssh and
the public key file. They should be 700 and 0600.
Also, look out the sshd.conf at the server. And look at the putty ssh configuration. Also
look at the help menu and look at the FAQ and check out what waws the answer given for the
error message you got.
If still stuck with issues, post the error and config files here.
HTH,
Prabu.S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2006 10:53 PM
тАО02-01-2006 10:53 PM
Re: passwordless login to HP-UX server from window's client using putty
I have done the following steps :
1. Created public(ajs.pub) and private keys(ajs.pub) using puttygen from the PC running Windows XP.
2. This ajs.pub is put in the HP-UX server under home director of the user id "ajs" and copied this file to .ssh directory under this home directory. e.g
# pwd
/var/home/ajs/.ssh
# ll
total 16
-rwx------ 1 ajs basis 294 Feb 2 16:58 ajs.pub
3. Now, if I try to login from the PC to this HP-UX server, it asking the password as follows :
C:\putty>plink ajs
Using username "ajs".
Server refused our key
Using keyboard-interactive authentication.
Password:
Also if we try to use psftp, then also it asking password :
C:\putty>psftp ajs
Using username "ajs".
Server refused our key
Using keyboard-interactive authentication.
Password:
Remote working directory is /var/home/ajs
psftp> ls
(ajs is also a session name created by using putty and giving IP, user name, private key file)
So what to do next to login to the server without password ?
Also configuration file of SSH server(HP-UX)is attached.
Ajoy Sonowal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2006 11:13 PM
тАО02-01-2006 11:13 PM
Re: passwordless login to HP-UX server from window's client using putty
the permission for /.ssh dir should be 700.
And public key should be named as ~/.ssh/authorized_keys. It should have permission 0600.
And look at your sshd.conf for following two lines
#PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys
these should be uncommented out.
They this........
HTH,
Prabu.S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2006 11:16 PM
тАО02-01-2006 11:16 PM
Re: passwordless login to HP-UX server from window's client using putty
Attached files tells about password less authentication between two unix machines. But this hold common for you also, I believe.
check out them.
Also, second file contains a sample of ssh.conf and sshd.conf file.
HTH,
Prabu.S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2006 04:57 PM
тАО02-02-2006 04:57 PM
Re: passwordless login to HP-UX server from window's client using putty
I tried from windows client to HP-UX server using PLINK and PSFTP. Still I am getting the same error as follows :
C:\putty>psftp ajs
Using username "ajs".
Server refused our key
Using keyboard-interactive authentication.
Password:
I have created public key and private key in this windows client using puttygen. Then I copied this public key file to .ssh directory under home directory of user "ajs" in HP-UX server. Also i have changed the permission of this public key file and moved to authorized_keys file.
# pwd
/var/home/ajs/.ssh
# ll
total 32
-rw------- 1 ajs basis 294 Feb 2 16:58 ajs.pub
-rw------- 1 ajs basis 294 Feb 3 10:48 authorized_keys
#
Also I have remove # of the following entries :
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
from the sshd_config file of the HP-UX server.
So, what I should do next.
Ajoy Sonowal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2006 08:57 AM
тАО03-16-2006 08:57 AM
Re: passwordless login to HP-UX server from window's client using putty
I can login to another Solaris machine and a Linux machine perfectly from Solaris, just the HPUX machine still causes SSH to ask for BOTH the key's passphrase AND the account's password.
The Solaris machine's public key is in the HPUX user's .ssh directory as authorized_keys and both the directory and the the file have the correct permissions. The following lines are NOT commented in the HPUX machine's sshd_config file:
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
Is there anything else I'm missing?