Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: ssh on windows

by veeruch (Sexton)
on Jul 05, 2006 at 07:58 UTC ( [id://559262]=note: print w/replies, xml ) Need Help??


in reply to Re: ssh on windows
in thread ssh on windows

os is AIX 5.2 and Net::SSH::Perl Version 1.29, protocol version 2.0.
yes iam login with Putty and do the things also ..

Replies are listed 'Best First'.
Re^3: ssh on windows
by shmem (Chancellor) on Jul 05, 2006 at 08:09 UTC
    What is your login shell? (type echo $SHELL at the command line prompt)

      if iam using Net::SSH::Perl in Windows (Active State Perl)

      use Net::SSH::Perl; my $ssh = Net::SSH::Perl->new('somehost',debug=>1); $ssh->login('user', 'passwd'); my($stdout, $stderr, $exit) = $ssh->cmd($cmd);

      indamaaaf31786: Reading configuration data /.ssh/config
      indamaaaf31786: Reading configuration data /etc/ssh_config
      indamaaaf31786: Connecting to host, port 22.
      indamaaaf31786: Remote protocol version 2.0, remote software version OpenSSH_3.7.1p2-pwexp26
      indamaaaf31786: Net::SSH::Perl Version 1.29, protocol version 2.0.
      indamaaaf31786: No compat match: OpenSSH_3.7.1p2-pwexp26. Can't set socket non-blocking: at
      E:/perl/site/lib/Net/SSH/Perl.pm line 212, <GEN0> line 1.

      echo $SHELL
      /usr/bin/ksh

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://559262]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (None)
    As of 2024-04-25 00:47 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found