9to5cynic
Android Expert
*I think this is the right place for this if not blast it off in the right direction with *
Okay, here's what I'm trying to do.
I need to ssh into a windows comp (running freeSSHD), from a linux comp... all within a perl script. I had it all worked out save the ssh part.
It kicks me out for the password authentication... I've tried using private/public keys on both, and that seems to hang up somewhere. If I had to guess, I'd say it is because they are different ssh server/clients (openSSH and freeSSHD)... but I really don't know.
Also, with my very limited Internet resources, I can't download a bunch of files (anything over 1-2 MB is really pushing it ... :/ )... so I don't think I'll be able to do NET::SSH:ERL or anything like that from CPAN...
EDIT
Okay, so I was not able to install cygwin, because it is an online installer and I have lousy internet, but I did stumble upon a windows port of openssh, that was an offline installer, it is very out of date but I was able to (somehow) get the private key authentication working, so issue solved.
/EDIT
Any suggestions?
I've tried things like this...
If anyone has *any* ideas what-so-ever, it'd be greatly appreciated. Thanks!
Okay, here's what I'm trying to do.
I need to ssh into a windows comp (running freeSSHD), from a linux comp... all within a perl script. I had it all worked out save the ssh part.
It kicks me out for the password authentication... I've tried using private/public keys on both, and that seems to hang up somewhere. If I had to guess, I'd say it is because they are different ssh server/clients (openSSH and freeSSHD)... but I really don't know.
Also, with my very limited Internet resources, I can't download a bunch of files (anything over 1-2 MB is really pushing it ... :/ )... so I don't think I'll be able to do NET::SSH:ERL or anything like that from CPAN...
EDIT
Okay, so I was not able to install cygwin, because it is an online installer and I have lousy internet, but I did stumble upon a windows port of openssh, that was an offline installer, it is very out of date but I was able to (somehow) get the private key authentication working, so issue solved.
/EDIT
Any suggestions?
I've tried things like this...
Code:
$IP = "192.168.1.10";
$ssh = `ssh user@$IP`;
$x = `password`;
#
#And I've tried it with
system("password");
#and even tried it as
$ssh = `ssh user@$IP` . `password`;