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

Re: Clearer wording for ssh.1 -o option=value



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