[Jailkit-users] jailkit and scp without entering the password
From:
Giuliano Catrambone (CatraSoftware)
Subject:
[Jailkit-users] jailkit and scp without entering the password
Date:
Wed, 10 Mar 2010 18:42:17 +0100
Hi all,
using jailkit I created an account that is permitted to execute only sftp, scp and rsync.
Everything works fine, below find some of the commands I executed to configure that.
Now the problem is that I need that the scp/rsync commands do not ask me the password,
essentially I need to set the public key in my jailed account.
How can I do that?
Do I have to run the ssh-keygen command to generate the .ssh directory and if yes, which account I have to use to run the
command?
Thanks
giu