[Gllug] ssh screen challenge solved (ish), was Re: screen and ssh challenge

Robert McKay robert at mckay.com
Tue Jun 12 13:56:11 UTC 2007


Try:

LocalCommand tty -s && cat /proc/$PPID/cmdline | xargs -0 | awk '{ printf
("\033k%s\033\\", $NF) }'

To only run if stdout is a tty...

Rob.

On 6/12/07, Chris Jones <cmsj at tenshu.net> wrote:
> Hi
>
> Chris Jones wrote:
> > I can therefore unveil the current, excruciatingly hacksome version:
>
> which, I've just discovered, doesn't work with the current way I do
> ProxyCommand (in that ssh is spawning another ssh to go through the
> proxy, which is also trying to echo out terminal stuff and breaking the
> ssh handshake). bah!
>
> Cheers,
> --
> Chris Jones
>   cmsj at tenshu.net
>    www.tenshu.net
> --
> Gllug mailing list  -  Gllug at gllug.org.uk
> http://lists.gllug.org.uk/mailman/listinfo/gllug
>
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list