Unix Technical Forum

Help ! AIX Openssh public key authentication not working

This is a discussion on Help ! AIX Openssh public key authentication not working within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi All, How to troubleshoot AIX openssh public key authentication problem, it always prompt for password ? I have ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 11:46 AM
maverickong@gmail.com
 
Posts: n/a
Default Help ! AIX Openssh public key authentication not working

Hi All,

How to troubleshoot AIX openssh public key authentication problem, it
always prompt for password ?

I have one aix user account working but not other user account. The
scenarios :

a) serverA_user1 -> sftp -> serverB_user 2 - openssh public key
authenticatoin working

b) serverA_user2 -> sftp -> serverB_user 3 - openssh public key
authenticatoin failed, it prompts for passowrd.

The openssh public key authentication step is correct, I am really
lost...

Please advise.

/Cybermav

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 11:46 AM
Frank Fegert
 
Posts: n/a
Default Re: Help ! AIX Openssh public key authentication not working

maverickong@gmail.com wrote:
> How to troubleshoot AIX openssh public key authentication problem, it
> always prompt for password ?
>
> I have one aix user account working but not other user account. The
> scenarios :
>
> a) serverA_user1 -> sftp -> serverB_user 2 - openssh public key
> authenticatoin working
>
> b) serverA_user2 -> sftp -> serverB_user 3 - openssh public key
> authenticatoin failed, it prompts for passowrd.
>
> The openssh public key authentication step is correct, I am really
> lost...


Check the permissions for the users $HOME and the $HOME/.ssh
dir, as well as the permissions for the key file. IIRC it
should be:
0755 $HOME
0700 $HOME/.ssh
0600 $HOME/.ssh/*

Regards,

Frank
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:41 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com