The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
passwordless login from a server to another server johnl Shell Programming and Scripting 2 05-16-2008 05:27 AM
authorized_keys and passwordless login mcrouch_2003 Linux 6 05-09-2008 10:28 AM
Passwordless sftp from UNIX to windows site konark Shell Programming and Scripting 2 03-24-2008 10:36 AM
passwordless authentication of SFTP script uday.shankar Shell Programming and Scripting 11 01-11-2008 11:54 AM
Passwordless root authentication via SSH sphericon AIX 3 11-20-2007 05:58 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-28-2007
Registered User
 

Join Date: Aug 2007
Posts: 1
Passwordless authentication via SSH

I am trying to implement passwordless authentication via ssh2. I have used the well documented technique of generating a key pair with a blank passphrase on my client machine, and installing the public key on the destination server (AIX 5.3) in the user's .ssh2 directory. I have used this technique successfully in the past on other flavours of Unix.

However when I connect (e.g. using sftp2) it still asks for a password, and I have to supply the user's Unix account password before it lets me in. What have I missed? Is there a setting somewhere else that is overriding those in the sshd2 config file?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-29-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,128
well, these should be present on the server :
Quote:
#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys
What the debug (-vv flag)says when you connect with sftp ? You can also try "-o PreferredAuthentications=publickey" when connecting.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:57 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0