BrianDStark has asked for the wisdom of the Perl Monks concerning the following question:
Trying to keep it simple, I am unable to connect to a remote test platform using openssh with ActivePerl under windows, I am able to secure shell into the server in question using a CRT application.
My code is below:
#!/usr/bin/perl use Net::OpenSSH; $Net::OpenSSH::debug = ~0; my $ssh = Net::OpenSSH->new("root:viking@10.0.0.29",timeout => 30,stri +ct_mode => 0); $ssh->error and die "Unable to connect: " + $ssh->error; print "Connected to $ssh\n"; undef $ssh;
the output I receive is:
c:\Users\lax1_test\Desktop\ASRT_trunk>perl -w test.pl # open_ext: ['ssh','-V'] # io3 mloop, cin: 0, cout: 1, cerr: 0 # io3 fast, cin: 0, cout: 1, cerr: 0
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: basic openssh connectivity
by salva (Canon) on Jul 26, 2019 at 08:26 UTC | |
by BrianDStark (Novice) on Jul 29, 2019 at 17:21 UTC | |
by salva (Canon) on Aug 07, 2019 at 07:21 UTC | |
|
Re: basic openssh connectivity
by 1nickt (Canon) on Jul 26, 2019 at 01:02 UTC | |
by choroba (Cardinal) on Jul 26, 2019 at 13:32 UTC | |
by 1nickt (Canon) on Jul 26, 2019 at 13:45 UTC | |
by choroba (Cardinal) on Jul 26, 2019 at 13:50 UTC | |
by 1nickt (Canon) on Jul 26, 2019 at 15:17 UTC | |
by BrianDStark (Novice) on Jul 26, 2019 at 16:34 UTC | |
by BrianDStark (Novice) on Jul 26, 2019 at 16:45 UTC |