Läs i ssh manualen (man ssh), så står det hur du slipper ange lösen då du använder rcp.
Tex:
First, if the machine the user logs in from is listed in /etc/hosts.equiv or /etc/shosts.equiv on the remote machine, and the user names are the same on both sides, the user is immediately permitted to log in. Second, if .rhosts or .shosts exists in the user's home directory on the remote machine and contains a line containing the name of the client machine and the name of the user on that machine, the user is permitted to log in.This form of authentication alone is normally not allowed by the server because it is not secure.
Skulle själv skapa en RCA-nyckel utan lösenfras och använda scp med den. Inte heller den lösningen är helt säker, men den är så säker en lösenordfri inloggning kan bli. Och den är definitivt säkrare än rcp-lösningen.
Exempel:
ssh-keygen -b 1024 -f ~/.ssh/hostkey
[Tryck bara <enter> när det frågas efter "passphrase"]
Var bara rädd om den privata nyckeln ~/.ssh/hostkey. Eftersom den inte är skyddad med en lösenfras så fungerar den som en nyckel till fjärrdatorn. Om någon får tag på den kan de använda den för att logga in.