The following procedure will allow you to access and execute commands on remote servers without password
# from client's home do ... client$ mkdir ~/.ssh client$ chmod 700 ~/.ssh client$ ssh-keygen -q -f ~/.ssh/id_rsa -t rsa # do NOT enter passphrase # upload public key from client to user's home at server ... client$ scp ~/.ssh/id_rsa.pub user@server: # setup the public key on server server$ mkdir ~/.ssh server$ chmod 700 ~/.ssh server$ cat ~/id_rsa.pub >> ~/.ssh/authorized_keys server$ chmod 600 ~/.ssh/authorized_keys server$ rm ~/id_rsa.pub client$ ssh user@server 'commands'