Passwordless SSH
To set up password-less ssh/scp between two accounts on two different machines :
1. Install SSH on each machine, and in each of the two accounts, run ssh-keygen with an empty passphrase :
bob@pluto:/export/home/bob> ssh-keygen2. then on each machine, add the contents of $HOME/.ssh/identity.pub from the OTHER machine to $HOME/.ssh/authorized_keys on the local machine (authorized_keys is a bit like a .rhosts file)
( identity.pub should look something like
1024 35 160113598328315770347757629917900809305107052156577
35309230295215401023914018627645367660366634152222008662730523500914536747457721973246144358939975391572463683312532362580794046759060783340
4305418708539664884348021852629799444102754790417057317676624046572566499195728210728140
74215982344694643792671 bob@europa
Then you should be able to run 'ssh other_host' or 'scp myfile other_host:myfile.bak' from each and not get a password prompt.
N.B. The first time you connect to a new remote machine you will get a warning :
You should only set this up for situations where automated remote copying needs to be done, not just to avoid typing passwords..
If you have any problems you can use 'ssh -v other_host' and you will see verbose messages as it proceeds, which usually pinpoints where the problem lies.