Quote:
Originally Posted by zQUEz
Do you have an example of what you are trying to do? Basically scp uses the same framework as ssh. In other words, by using scp you are using ssh to do your file copy.
|
Well i want to set up a ssh key pair between two machines making sure that i should be asking password only once. Now problem is when i generate key pairs first i have to check if
1) if ~/.ssh file exists in remote machines. If not, create one
2) scp the public key to remote machine
3) cat rsa.pub >> authorized_keys in remote machine.
Now each of this step requires ssh/scp. Can someone tell me how to do this all by prompting for password only once.