Masatran, R. Deepak wrote: > I am forced to SSH to host1, and SSH from there to host2. > > How can I do this in a single command? > > I have a private key in localhost, which is accepted for SSH by host2. How > can I use this key in host2 without storing it in host1? >
ssh -t host1 ssh host2 the key thing is probably impossible. use a seperate key for host1->host2. PS: sorry for sending directly Masatran... hit the wrong reply button. Also, listen to Florian Kulzer, sounds like he knows the stuff way better than me -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]