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

What is your login shell? (type echo $SHELL at the command line prompt)

Replies are listed 'Best First'.
Re^4: ssh on windows
by veeruch (Sexton) on Jul 05, 2006 at 14:37 UTC

    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.

Re^4: ssh on windows
by veeruch (Sexton) on Jul 05, 2006 at 14:50 UTC
    echo $SHELL
    /usr/bin/ksh