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