Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
fd556121
Commit
fd556121
authored
Jun 28, 2013
by
Mike Hibler
Browse files
Put a connection timeout on the ssh to the tipserv node.
So we don't hang forever if the tipserver is down.
parent
94eb686d
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/console_setup.in
View file @
fd556121
#!/usr/bin/perl -wT
#
# Copyright (c) 2000-201
1
University of Utah and the Flux Group.
# Copyright (c) 2000-201
3
University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
...
...
@@ -50,7 +50,14 @@ use libtestbed;
# Turn off line buffering on output
$|
=
1
;
my
$SSH
=
"
$TB
/bin/sshtb -n
";
#
# We put a timeout on the SSH commands. If they fail, it probably means
# the tipserver is screwed up or dead. This is bad, but the experiment
# can continue without it so don't hang. We include the Protocol=2 spec
# so we don't try twice which would double the effective timeout wait.
#
my
$SSH
=
"
$TB
/bin/sshtb -o ConnectTimeout=5 -o Protocol=2 -n
";
my
$PROG
=
"
/usr/testbed/sbin/console_setup.proxy
";
my
%cmdargs
=
();
my
@row
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment