Hi All,

          I wanted to write a script which could login to a remote machine
and execute commands and give me the output, so i used Net::SSH::Perl module
on
my windows xp machine.... after running the script i get the this error
"mkdir  C:/: Invalid argument; The filename, directory name, or volume l
ax is incorrect at C:/Perl/site/lib/Net/SSH/Perl/Util/Hosts.pm line 51"

Not sure what shud i do, can somebody please help me with this...

-------------------------------------------------------------------------------------------------

C:\Documents and Settings\xyz\Desktop\perl-scripts\test_scripts>perl
erl.pl
xyz: Reading configuration data  C:/Documents and Settings/xyz
nfig
xyz: Reading configuration data /etc/ssh_config
xyz: Connecting to machine, port 22.
xyz: Remote version string: SSH-1.99-OpenSSH_3.9p1

xyz: Remote protocol version 1.99, remote software version Open

Math::BigInt: couldn't load specified math lib(s), fallback to Math::Bi
tCalc at C:/Perl/site/lib/Crypt/DH.pm line 6
xyz: Net::SSH::Perl Version 1.30, protocol version 2.0.
xyz: No compat match: OpenSSH_3.9p1.
xyz: Connection established.
Creating ssh object... done
xyz: Sent key-exchange init (KEXINIT), wait response.
xyz: Algorithms, c->s: 3des-cbc hmac-sha1 none
xyz: Algorithms, s->c: 3des-cbc hmac-sha1 none
xyz: Entering Diffie-Hellman Group 1 key exchange.
xyz: Sent DH public key, waiting for reply.
Math::BigInt: couldn't load specified math lib(s), fallback to Math::Bi
tCalc at C:/Perl/site/lib/Crypt/DSA/KeyChain.pm line 6
Math::BigInt: couldn't load specified math lib(s), fallback to Math::Bi
tCalc at C:/Perl/site/lib/Crypt/DSA/Key.pm line 6
Math::BigInt: couldn't load specified math lib(s), fallback to Math::Bi
tCalc at C:/Perl/site/lib/Crypt/DSA/Util.pm line 6
xyz: Received host key, type 'ssh-dss'.
Logging into server... The authenticity of host 'machine' can't be estab
Key fingerprint is 35:4e:02:77:e6:03:69:42:18:f5:83:e6:15:80:44:54.
Are you sure you want to continue connecting (yes/no)? [yes] yes
xyz: Permanently added 'machine' to the list of known hosts.
*mkdir  C:/: Invalid argument; The filename, directory name, or volume l
ax is incorrect at C:/Perl/site/lib/Net/SSH/Perl/Util/Hosts.pm line 51*

--------------------------------------------------------------------------------------

Thanks,
Monnappa

Reply via email to