On 2011年11月17日 10:43, Jongki Suwandi wrote:
> How did you set up the authorized keys for both root and autotest 
> users on the remote machine?  Did you just copy local autotest's 
> public key to remote autotest, and then copy local root's public key 
> to remote root?  Does the remote root have local autotest's public key?
>
> -Jongki
>
>


I just setup autotest's public key as follow:

autotest@wayne-ThinkPad-T420:/home/wayne$ ssh-keygen -t dsa
ssh-copy-id -i /home/autotest/.ssh/id_dsa.pub 172.16.3.130



And setup root's public key as follow:

root@wayne-ThinkPad-T420:/home/wayne# ssh-keygen -t dsa
root@wayne-ThinkPad-T420:/home/wayne# ssh-copy-id -i 
/root/.ssh/id_dsa.pub 172.16.3.130

Also, the remote root have local autotest's public key.

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to