The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 02-13-2008
mar11b mar11b is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 1
I can't enable PubkeyAuthentication to work

Hi,

I have followed all the steps setting up authentication keys for client and server. I have it working in one connection with a remote server. I have sent the same public key to another remote server but everytime I try to connect, the password prompt is coming up.

I have changed the permissions of the folders and files but to no avail. The only thing I haven't tried is to change the permission of the remote server's home directory. It is a shared home directory so I'm reluctant to change it. Would this be what's causing the problem? I have also checked the ssh.config and sshd.config for PubkeyAuthentication, all seems to be ok with 'yes'. Here is the debug of my attempted connection.



debug1: Authentications that can continue: publickey,password,keyboard-interacti
ve
debug1: Next authentication method: publickey
debug1: Offering public key: /home/onp/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password,keyboard-interacti
ve
debug1: Trying private key: /home/onp/.ssh/id_dsa
debug1: Trying private key: /home/onp/.ssh/identity
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interacti
ve
debug1: Next authentication method: password
ftp_Trus@ftp_tlm_prd's password:


I hope someone could help me out.

Mar11B

Last edited by mar11b; 02-13-2008 at 11:26 PM..