Equivalent ssh_config setting for "ssh -N"

Volker Diels-Grabsch v at njh.eu
Wed Aug 10 02:18:32 AEST 2016


Dear OpenSSH developers,

Is there an equivalent ssh_config setting for the command line option

    ssh -N ...

?

I want to connect to a server that doesn't provide an interactive
shell but allows for port forwarding only.  I'd love to configure
this into my ~/.ssh/config as follows:

    Host foo
        Hostname ...
        Port ...
        User ...
        LocalForward ...
        LocalForward ...
        LocalForward ...
        SomeSettingEquivalentToDashN yes

so I can call it via "ssh foo" instead of "ssh -N foo".

Are there good reasons not to provide such a setting?
Or, would you accept a patch that introduces such a setting?
If so, how sould this setting be named?


Regards,
Volker

-- 
Volker Diels-Grabsch
----<<<((()))>>>----


More information about the openssh-unix-dev mailing list