Something like:
my %options = (
debug => 1,
options => ["ConnectTimeout 3","StrictHostKeyChecking no",],
);
# Making an ssh connection with user-password authentication
# 1) construct the object
my $ssh = Net::SSH::Expect->new (
host => $address,
password=> 'password',
user => 'admin',
raw_pty => 1,
log_stdout => 1
);
the above does not seem to be working