Re: linux hop-by-hop auomated SSH login
From: Andras Szekely (andras.szekely@nospam.ericsson.se)
Date: 01/27/03
- Next message: Darren Tucker: "Re: beginner can't get public key auth."
- Previous message: Nico Kadel-Garcia: "Re: OpenSSH3.5p1 vs. Commercial SSH 3.2"
- In reply to: Pierre Asselin: "Re: linux hop-by-hop auomated SSH login"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Andras Szekely" <andras.szekely@nospam.ericsson.se> Date: Mon, 27 Jan 2003 10:09:30 +0100
"Pierre Asselin" <pa@panix.com> wrote in message
news:b0nop8$ij4$2@reader1.panix.com...
> In <b0lrmi$4e1$1@newstoo.ericsson.se> "Andras Szekely"
<andras.szekely@nospam.ericsson.se> writes:
>
> >dunno if it's a question here every week, but could someone help if I
need
> >to login to a system that is a couple of unix boxes away?
> >This should be done in an automated way, from a linux box.
>
> Well, since the syntax is "ssh user@host command..." you could try
> something like this:
>
> ssh user_a@host_a ssh user_b@host_b ssh user_c@host_c
>
> If you have your public keys set up, it should plug you straight into
> host_c without asking for a single password.
>
My problem is that let's say I have an open terminal window.
The script will send ssh user_a@host_a into that terminal session.
Fine, a new SSH shell will open, connecting me to host_a.
Then the script will send ssh user_b@host_b again into my original terminal
window, not into the freshly opened shell.
Do you think it will be able to cnnect thru the previous SSH session?
I'm a bit confused, so I guess my question itself could be wrong.
BR
Andras
- Next message: Darren Tucker: "Re: beginner can't get public key auth."
- Previous message: Nico Kadel-Garcia: "Re: OpenSSH3.5p1 vs. Commercial SSH 3.2"
- In reply to: Pierre Asselin: "Re: linux hop-by-hop auomated SSH login"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|