Menu

#3 command-line: line 0: Bad configuration option: ConnectTimeo

open
nobody
5
2007-07-20
2007-07-20
No

All of my Sun Solaris 9 systems are experiencing this problem - Looks like you're calling a invalid param to Sun's ssh client. This happens regardless of using Host lists or Farm. Output below is with the -x option...

uname -a
SunOS roper 5.10 Generic_118855-36 i86pc i386 i86pc

root@roper # sssh -H tom,jerry -c "ls"
+ getopts Ac:C:f:hH:Ll❌qt opt
+ case $opt in
+ hostlist=tom,jerry
+ getopts Ac:C:f:hH:Ll❌qt opt
+ case $opt in
+ cmd=ls
+ getopts Ac:C:f:hH:Ll❌qt opt
+ . /usr/local/bin/sssh_funcs
++ . /etc/sssh/sssh.cfg
+++ dir=/etc/sssh/farms
+++ cmd_cfg=/etc/sssh/commands.cfg
+++ SSH_OPTS='-2 -o ConnectTimeout=1'
+++ pubkey=/root/.ssh/id_dsa.pub
++ '[' -z '' ']'
++ HOST=roper
+ check_list_farms
+ '[' '!' -z '' ']'
+ init_user
+ '[' -z '' ']'
+ user=root
+ '[' '!' -z '' ']'
+ '[' -z tom,jerry -a -z '' ']'
+ '[' '' ']'
+ get_servers
+ '[' -n tom,jerry ']'
++ echo tom,jerry
++ tr '[=,=]' ' '
+ servers='tom jerry'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ for ip in '$servers'
+ '[' '!' -z '' ']'
+ echo ---------------------------------- tom ----------------------------------
---------------------------------- tom ----------------------------------
+ /usr/bin/ssh -2 -o ConnectTimeout=1 root@tom ls
command-line: line 0: Bad configuration option: ConnectTimeout
+ '[' 1 -ne 0 ']'
+ unreach=' tom'
+ for ip in '$servers'
+ '[' '!' -z '' ']'
+ echo ---------------------------------- jerry ----------------------------------
---------------------------------- jerry ----------------------------------
+ /usr/bin/ssh -2 -o ConnectTimeout=1 root@jerry ls
command-line: line 0: Bad configuration option: ConnectTimeout
+ '[' 1 -ne 0 ']'
+ unreach=' tom jerry'
+ '[' -n ' tom jerry' ']'
+ echo

+ echo '###### Following hosts couldn'\''t be reached #######'
###### Following hosts couldn't be reached #######
+ echo '###### tom jerry #######'
###### tom jerry #######
+ exit 1

Discussion


Log in to post a comment.

MongoDB Logo MongoDB