Displaying 2 results from an estimated 2 matches for "sshport".
Did you mean:
ssh_port
2023 Feb 16
0
[Bug 3541] New: remote-to-remote case doesn't look at sshport
https://bugzilla.mindrot.org/show_bug.cgi?id=3541
Bug ID: 3541
Summary: remote-to-remote case doesn't look at sshport
Product: Portable OpenSSH
Version: 9.1p1
Hardware: Other
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: scp
Assignee: unassigned-bugs at mindrot.org
Reporter: tractorboy at gm...
2006 Nov 02
1
Using perl-Net-SSH-Perl with pubkey authentication under CGI.
...test.pl
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<HEAD><TITLE>Quick Test</TITLE></HEAD>";
$ENV{HOME} = "/var/www";
$ENV{USER} = "apache";
use Net::SSH::Perl;
$sshhost='target';
$sshuser='cgissh';
$sshport='22';
$sshprotocol='2';
$sshdebug='1';
$sshcipher='3des-cbc';
$sshconn = Net::SSH::Perl->new($sshhost, protocol=>$sshprotocol,
port=>$sshport, debug=>$sshdebug, cipher=>$sshcipher);
$sshconn->login($sshuser);
my($out,$err) = $sshconn->cmd('ho...