Re: Equivalent ssh_config setting for "ssh -N"

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Hello Volker,

I use 

ForceCommand /bin/false

On my Debian system, /bin/false is a program that does nothing
and returns a non-zero return code (i.e. an error code).

Jack


Volker Diels-Grabsch <v@xxxxxx> wrote:
> 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
> 

Attachment: Encryption key for Jack Dodds.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP Digital Signature

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux