|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Help with ssh key exchange
Hi
I have two aix lpars with version 7.1. i created a user named test in both the lpars. in one of the lpar i ran ssh-keygen -t rsa -b 2048 and got the publickey. i copied this public key to the authorized_keys of the other server. when i do ssh its asking for password? please assist |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
Check the permissions of the .ssh directory and the authorized_keys file. Should be like this: Code:
[xxxx ~]$ ls -ld .ssh/ .ssh/authorized_keys drwxr-xr-x 2 xxxx xxxx 4096 May 29 13:52 .ssh/ -rw-r--r-- 1 xxxx xxxx 1349 May 29 13:52 .ssh/authorized_keys |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Also switch up debug as you make the connection to see what's being tried (and failing) before you get password authentication method. Code:
ssh -vvv <ip address of server> As said above, this is usually down to permissions, ssh hates perms to be too open. |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mail exchange | alwayslearningunix | UNIX for Dummies Questions & Answers | 2 | 05-01-2001 01:33 PM |
|
|