in reply to Re^6: Why I'm Populating authorized_keys with Expect
in thread Populating authorized_keys with Expect
As you can run Perl scripts in remA, another solution would be to implement your own netcat (or mconnect) in Perl.$ ssh -o 'ProxyCommand ssh remA mconnect -r -p 22 remB' remB
And you can combine that with the multiplexing feature:
$ ssh -M -S ~/.ssh/mux_socket -o 'ProxyCommand ssh remA mconnect -r -p + 22 remB' -N remB $ ssh -S ~/.ssh/mux_socket remB COMMAND1 $ ssh -S ~/.ssh/mux_socket remB COMMAND2 ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Why I'm Populating authorized_keys with Expect
by cmv (Chaplain) on Dec 03, 2008 at 21:10 UTC |