in reply to net::ssh::Perl connecting to f-secure ssh server

What do you get if you change your code to something like this:
#!/usr/local/bin/perl -w use strict; use Net::SSH::Perl; my $ssh = Net::SSH::Perl->new("host",(protocol=>'2',port=>'52000',debu +g=>'true')); $ssh->login("user","pass"); my ($stdout, $stderr, $exit) = $ssh->cmd("date /t"); print "exit=$exit\nstdout=$stdout\nstderr=$stderr\n";

Replies are listed 'Best First'.
Re^2: net::ssh::Perl connecting to f-secure ssh server
by tweetiepooh (Hermit) on Oct 07, 2007 at 17:39 UTC
    Date is not a valid command. It's not really a "computer", then commands are things like 'lssub:sn=all;' followed by some text out.

    If I use $ssh->shell; I do see the login prompt but can't get anything further.