OK. I have found the ssh option I mentioned earlier. Add the following flag to ssh line:
Code:
-i /home/jack/.ssh/id_dsa
to use jack's identity when connecting. Or id_rsa if you use rsa keys. Here is the related part from man ssh:
-i identity_file
Selects a file from which the identity (private key) for RSA or DSA authentication is read. The default is
~/.ssh/identity for protocol version 1, and ~/.ssh/id_rsa and ~/.ssh/id_dsa for protocol version 2. Identity
files may also be specified on a per-host basis in the configuration file. It is possible to have multiple -i
options (and multiple identities specified in configuration files).
Bookmarks