Bug 85194

Summary: [patch] man ssh(1) -o description
Product: Documentation Reporter: Regis A. Despres <mad>
Component: Books & ArticlesAssignee: jcamou
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Regis A. Despres 2005-08-21 22:00:38 UTC
	
	<code/input/activities to reproduce the problem (multiple lines)>
Extract from man-page :

SSH(1)                  FreeBSD General Commands Manual                 SSH(1)

NAME
     ssh -- OpenSSH SSH client (remote login program)
(snip)

     -o option
             Can be used to give options in the format used in the configura-
             tion file.  This is useful for specifying options for which there
             is no separate command-line flag.  For full details of the
             options listed below, and their possible values, see
             ssh_config(5).

                   AddressFamily
                   BatchMode
                   BindAddress
                   ChallengeResponseAuthentication
                   CheckHostIP
                   Cipher
                   Ciphers
                   ClearAllForwardings
                   Compression
                   CompressionLevel
                   ConnectionAttempts
                   ConnectionTimeout
                   DynamicForward
(snip)





So let try a :
		$ssh -o ConnectionTimeout=5 localhost
		command-line: line 0: Bad configuration option: ConnectionTimeout

Fix: 

Lets do : 
		$ssh -o ConnectTimeout=5 localhost
		The authenticity of host 'cynique.org (nnn.nnn.nnn.nnn)' can't be established.
		DSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.
		Are you sure you want to continue connecting (yes/no)?



Is this can help ?

@@ -620,7 +620,7 @@
 .It Compression
 .It CompressionLevel
 .It ConnectionAttempts
-.It ConnectionTimeout
+.It ConnectTimeout
 .It DynamicForward
 .It EscapeChar
 .It ForwardAgent
Comment 1 David Adam 2005-08-22 02:22:21 UTC
On Sun, 21 Aug 2005, Regis A. Despres wrote:
> @@ -620,7 +620,7 @@
>  .It Compression
>  .It CompressionLevel
>  .It ConnectionAttempts
> -.It ConnectionTimeout
> +.It ConnectTimeout
>  .It DynamicForward
>  .It EscapeChar
>  .It ForwardAgent

A similar patch was applied in revision 1.185 of the file
src/usr/bin/ssh/ssh.1 in the OpenBSD CVS tree.

Until we sync up with them, I suggest we merge this patch.

David Adam
zanchey@ucc.gu.uwa.edu.au
Comment 2 jcamou freebsd_committer freebsd_triage 2006-02-03 18:55:38 UTC
State Changed
From-To: open->patched

This has been already fixed on HEAD.  I will take care of 
the MFC'ing part. 


Comment 3 jcamou freebsd_committer freebsd_triage 2006-02-03 18:55:38 UTC
Responsible Changed
From-To: freebsd-doc->jcamou

Set me as responsible.
Comment 4 jcamou freebsd_committer freebsd_triage 2006-02-22 19:59:29 UTC
State Changed
From-To: patched->closed

The change has been applied on RELENG_5 in ssh.1, sftp.1 
and scp.1.  Thanks!