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:
[us...@host3 ~]$ scp us...@host1:file us...@host2:.
us...@host1's password:
us...@host2's password:

If you want to use key based authentication then you need to add
user3's public key in user1's authorized keys and user1's public key
in user2's authorized keys.

--
Regards
Osric Xavier Fernandes
-- 
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to