On Sunday 08 August 2010 02:08 PM, Osric Fernandes wrote:
On Sat, Aug 7, 2010 at 8:55 PM, Rony wrote:
I just have one query. How will it sequentially ask for passwords and where will the ssh key be stored? If I get the key from one remote host into my client machine, how will the other host gain access on that key. Unless of course the same key is set up manually in advance on all machines.
If keys are not setup, it will sequentially ask for the passwords: [user3@host3 ~]$ scp user1@host1:file user2@host2:. user1@host1's password: user2@host2's password:
That is fine but the keys are being given to host3. Why will hosts 1 and 2 start a secure connection between each other based on keys given to host3?