Im writing a shell script to use the scp command (ssh) to transfer a file across to a computer. This obviously is password protected is there a way on either end to either…disable the password or to auto complete the password for the customer?
This out of pure convience and I have no idea if it is possible (im fairly new to linux), any help or pointers would be appreciated.
Thanks in advance
You can generate a pair of RSA/DSA keys (public and private). In your terminal:
It will generate a pair of files:
.ssh/id_dsa.ssh/id_dsa.pubThen, if you have access to remote host, you can add your public key to
.ssh/authorized_keysfile. In your remote host, copy the public key and use the following command: