|
Secure Shell
Manipulating Forwards on an existing shell Oct 19 2009 08:01PM Quintin Beukes (quintin last za net) (1 replies) Re: Manipulating Forwards on an existing shell Oct 20 2009 02:11AM Darren Tucker (dtucker zip com au) (1 replies) |
|
Privacy Statement |
currently. And I have to use normal port forwards.
What I'm looking for is to make this easier with a zenity dialog at
the click of a button, then have to terminal pipe somewhere and become
a background process.
Is there perhaps some options I can supply to SSH so it accepts ~C
(then the options + \n) from stdin?
Quintin Beukes
On Tue, Oct 20, 2009 at 4:11 AM, Darren Tucker <dtucker (at) zip.com (dot) au [email concealed]> wrote:
> Quintin Beukes wrote:
>>
>> Is there any way at all to manipulate local forwards on an existing
>> shell?
>
> Use the ~C escape, which is documented in ssh(1) thusly:
>
> Â ~C Â Open command line. Â Currently this allows the addition of port
> Â Â Â forwardings using the -L, -R and -D options (see above). Â It also
> Â Â Â allows the cancellation of existing remote port-forwardings using
> Â Â Â -KR[bind_address:]port. Â !command allows the user to execute a
> Â Â Â local command if the PermitLocalCommand option is enabled in
> Â Â Â ssh_config(5). Â Basic help is available, using the -h option.
>
> Depending on what you're doing, you may be better served by
> -D/DynamicForward which allows you to use SOCKSified clients rather than
> created new (local) forwards for each purpose.
>
> --
> Darren Tucker (dtucker at zip.com.au)
> GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 Â 37C9 C982 80C7 8FF4 FA69
> Â Â Good judgement comes with experience. Unfortunately, the experience
> usually comes from bad judgement.
>
[ reply ]