[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Clearer wording for ssh.1 -o option=value
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Clearer wording for ssh.1 -o option=value
- From: Han Boetes <han_(_at_)_mijncomputer_(_dot_)_nl>
- Date: Fri, 23 Dec 2005 02:45:04 +0100
- Mail-followup-to: tech_(_at_)_openbsd_(_dot_)_org
Jason McIntyre wrote:
> the description of -o in ssh(1) says:
> Can be used to give options in the format used in the
> configuration file.
So I looked at my configfile:
~% grep -i root /etc/ssh/sshd_config
PermitRootLogin no
And I tried:
~% ssh -o TCPKeepAlive yes host
command-line line 0: Missing yes/no argument.
> the man page for the configuration file (ssh_config(5)) explains the format:
> The configuration file has the following format: ...
> [keep reading]
>
> notice also this bit (about the use of `='):
> ...the later form is useful when specifying configuration options...
Yes yes yes, that's very right, but it takes quite lot of focussed
reading, and of course switching to another manpage.
> that is pretty explicit. so this will work too:
>
> $ ssh -o "TCPKeepAlive yes" host
That's not something I would have expected.
> and since the `=' is optional, i'm not sure your diff is a helpful
> addition.
Even though it's not entirely correct it saves the reader of the
manpage a lot searching. This is something you mostly won't have
to look up.
Just my E0.02
# Han
Visit your host, monkey.org