Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ssh config file "-N" option equivalent

299 views
Skip to first unread message

g.da...@gmail.com

unread,
Dec 14, 2005, 4:23:31 PM12/14/05
to
Is there an equivalent of ssh's "-N" command line option in
~/.ssh/config file? I have all kind of port forwardings set in config
file, like for example:
Host rdp-forwarding
HostName unix.example.com
User g.da.luz
LocalForward 3389 windows.example.com:3389
But after issuing "ssh rdp-forwarding" command, I am logged onto remote
machine (and port forwarding if set, of course), which I don't want...

Thanks.

Darren Tucker

unread,
Dec 14, 2005, 9:20:33 PM12/14/05
to
On 2005-12-14, g.da...@gmail.com <g.da...@gmail.com> wrote:
> Is there an equivalent of ssh's "-N" command line option in
> ~/.ssh/config file?

In OpenSSH, no.

--
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.

0 new messages