Allow user to set different ConnectTimeout and -o string (Tony Mancill)

This commit is contained in:
duncan_ferguson 2009-04-03 19:42:22 +00:00
parent 6be2b47818
commit d524a0a3d5
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
??? Duncan Ferguson <duncan_ferguson@user.sf.net> - v3.26-1
* Allow user to set a different ConnectTimeout and -o string (Tony Mancill)
2009-03-26 Duncan Ferguson <duncan_ferguson@user.sf.net> - v3.25-1
* Add patch from David F. Skoll for adding colour to terminals

View file

@ -222,9 +222,9 @@ sub load_config_defaults() {
$config{ $config{comms} } = $config{comms};
$config{ssh_args} = $options{o} if ( $options{o} );
$config{ssh_args} .= " -x -o ConnectTimeout=10"
$config{ssh_args} = " -x -o ConnectTimeout=10"
if ( $config{ $config{comms} } =~ /ssh$/ );
$config{ssh_args} = $options{o} if ( $options{o} );
$config{rsh_args} = "";
$config{telnet_args} = "";