Remote X
Jonathan Allen
jonathan at barumtrading.co.uk
Wed Apr 26 08:53:25 UTC 2006
Kevin,
> Generate a key:
>
> ssh-keygen -t dsa
>
> It will ask you for a passphrase. If you leave it blank your private key
> will be unprotected. If you set the passphrase you will need to start
> ssh-agent and add your keys before you do the Xnest.
>
> Next copy your public key to the known_hosts file on the target machine.
>
> cat ~/.ssh/id_dsa.pub |ssh servername "cat >>~/.ssh/known_hosts"
>
> (That command looks ugly but it was my attempt at not clobbering the
> known_hosts file if there already is one) Now "ssh servername" should
> login without a password.
Wonderful - thank you. Cooking with gas now ...
Jonathan
More information about the users
mailing list