Skip Menu |
 

This queue is for tickets about the Net-SSH-Perl CPAN distribution.

Report information
The Basics
Id: 77905
Status: resolved
Priority: 0/
Queue: Net-SSH-Perl

People
Owner: Nobody in particular
Requestors: sc.prabu [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.67
Fixed in: (no value)



Subject: Login Method
Download (untitled) / with headers
text/plain 259b
Hi, While exploring the code i could find login method expects password as argument, but while invoking in ssh its not passed, so it is searching for .ssh/<config file>, i wanna use the password which i pass in the constructor. Help me out on this. Prabu
Download (untitled) / with headers
text/plain 550b
On Tue Jun 19 11:47:40 2012, sc.prabu wrote: Show quoted text
> Hi, > > While exploring the code i could find login method expects password as > argument, but while invoking in ssh its not passed, so it is searching > for .ssh/<config file>, i wanna use the password which i pass in the > constructor. Help me out on this.
use Net::SSH::Perl; my $ssh = Net::SSH::Perl->new ("localhost"); $ssh->login("loginname","verysecret"); print $ssh->cmd("cat /proc/cpuinfo"); Steffen -- Steffen Schwigon <ss5@renormalist.net> Dresden Perl Mongers <http://dresden-pm.org/>


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.