All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit a48b57cb authored by Weibin Sun's avatar Weibin Sun

tbsetup/GNUmakefile.in:add snmpit_apcon.pm to LIB_STUFF. snmpit_apcon.pm: add...

tbsetup/GNUmakefile.in:add snmpit_apcon.pm to LIB_STUFF. snmpit_apcon.pm: add response to asking about whether adding remote keys into trustedhosts for the first time ssh connection.
parent e83590b6
......@@ -84,7 +84,7 @@ LIB_STUFF = libtbsetup.pm exitonwarn.pm libtestbed.pm snmpit_intel.pm \
snmpit_cisco.pm snmpit_lib.pm snmpit_apc.pm power_rpc27.pm \
snmpit_cisco_stack.pm snmpit_intel_stack.pm power_sgmote.pm \
snmpit_foundry.pm snmpit_stack.pm snmpit_remote.pm \
snmpit_nortel.pm snmpit_hp.pm \
snmpit_nortel.pm snmpit_hp.pm snmpit_apcon.pm\
libaudit.pm libreboot.pm libosload.pm libtestbed.py \
libadminmfs.pm libtblog.pm libtblog_simple.pm libArchive.pm \
power_mail.pm power_whol.pm Template.pm power_rmcp.pm \
......
......@@ -216,6 +216,11 @@ sub createExpectObject($)
["admin\@$self->{NAME}'s password:" => sub { my $e = shift;
$e->send($self->{PASSWORD}."\n");
exp_continue;}],
["Are you sure you want to continue connecting (yes/no)?" => sub {
# Only occurs for the first time connection...
my $e = shift;
$e->send("yes\n");
exp_continue;}],
["Permission denied (password)." => sub {
die "Password incorrect!\n";} ],
[ timeout => sub { die "Timeout when connect to switch!\n";} ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment