Re: ssh query string and password

On the originating machine, say

ssh-keygen -t rsa

Save the key in the default file (~/.ssh/id_rsa) and do not use a
passphrase. This will create a file ~/.ssh/ Add the
contents of this file to the file ~/.ssh/authorized_keys2 on the
remote machine (i.e., the machine on which you want to log on).
Whereas the file is world readable, the authorized_keys2
file should only be readable by you. Use chmod to set the permissions


Relevant Pages