Hi, 

 

 

did you test for example 

 "ssh -i ~/.ssh/id_dsa   [EMAIL PROTECTED] "ls"

 

 

... ore something else...

 

with another user without the rsshd?

Only to check if the priv/pub - key mechanism is working well.

 

Best regards,

 

 Gerold 

 

________________________________

Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 12. Juli 2007 15:01
An: [email protected]
Betreff: sftp public-key authentication fails

 


Hello, 

I successfully set up rssh within a chroot directory. 

I can connect to the rssh-server using UID and password authentication
but I fail to use public-key authentication. 

I saved the public-key in the appropriate user's home directory
(~/ssh/authorized_keys) on the sftp-server and 
configured the ssh-daemon to allow public-key-authentication. 

/etc/ssh/sshd_config: 
PubkeyAuthentication        yes 
AuthorizedKeysFile        .ssh/authorized_keys 

I use this command: 
sftp sftp -oIdentityFile=~/.ssh/id_dsa [EMAIL PROTECTED] 

but I am immediately prompted for a password although I provide my
private-key (id_dsa) 

Can any help to solve this issue? 

Thanks. 

best regards,
Wolfgang

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
rssh-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to