I need to be able to call a script that copies over my ssh key to the remote machine without needing my input. Currently it prompts for a password and also a yes to the RSA fingerprint.
Are you sure you want to continue connecting (yes/no)? Is it possible to script this, so the script just will answer yes? If your ssh-copy-id doesn't support the StrictHostKeyChecking option, you can write a script that does: SSH has an option to auto
ssh-copy-id is a useful tool for SSH connections to a remote host without using a password. Basically, it copies the SSH key into the remote host’s authorized_keys file, which is by default in the $HOME/.ssh directory.
I have few client systems where I need to push the ssh key and login from my server without authentication prompts. First, on the server, I created ssh key as below which was successful ]# ssh-k...