ssh "!command" escape sequence - does it work?

Chris Green cl at isbd.net
Thu Sep 10 14:19:19 UTC 2020


In the man page for ssh_config it says:-

     PermitLocalCommand
       Allow local command execution via the LocalCommand option or using the !command escape sequence in
       ssh(1).  The argument must be yes or no (the default).

Can anyone point me at something that tells me about "... the !command
escape sequence in ssh(1)" please.

I can set the ssh escape character OK using "ssh -e <char>" and the
sequences listed in the ssh man page work.  However there's nothing
there about a !command escape sequence.

I want to run a command at the 'client' end during an ssh session.
                               
-- 
Chris Green




More information about the ubuntu-users mailing list