ssh without password

you can use this command in the shell cat ~/.ssh/*.pub | ssh user@remotehost ‘cat>>.ssh/authorized_keys’