SCP Module


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting SCP Module
# 1  
Old 03-09-2009
SCP Module

Hi,

Does anyone know where i can find the Net::SCP module for Perl version 5.10. I want to install it onto my windows machine, via ppm. But i donīt have it on any current repository.
This is very important, that i install this soon.

Thanks,

Philip.
# 2  
Old 03-09-2009
# 3  
Old 03-09-2009
But how do i install through ppm. I tried using through nmake. But i'm not sure if it installed right.
when i run this code:
Code:
use Net::SCP;

my $scp = Net::SCP->new( "server123.comp.domain.com", "user123" );

$scp->get("test.o") or die $scp->{errstr};

i get the following error
Code:
'scp' is not recognized as an internal or external command,
operable program or batch file.

# 4  
Old 03-09-2009
Most probably because you're on Windows, and Net::SCP relies on the scp utility. Either install the PuTTY suite of programs, and create a copy of pscp.exe as scp.exe, or install OpenSSH for Windows (either through Cygwin or this)
# 5  
Old 03-09-2009
In an earlier program i used rsh and rcp and placed them into my c drive
it looked like this:
Code:
my $remote = File::Remote->new(rsh => 'c:\putty.exe',
                                  rcp => 'c:\pscp.exe',
                                  tmp => 'c:\temp');

How can i reference this for scp in Net::SCP?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl module

I am recieiving an out of memory issue in my perl module while updating the records in the oracle table. Let me know what are the check or troubleshoot steps need to be done from my end to fix the issue. (1 Reply)
Discussion started by: ramkumar15
1 Replies

2. Red Hat

PAM module pam_passwdqc module

Hello friends Today i have changed my passwd policy for strong password Everything is working correctly but when i changed my password , it did not ask me my old password my /etc/pam.d/system-auth file is (only passwdqc.so module line) password required pam_passwdqc.so retry=3... (0 Replies)
Discussion started by: rink
0 Replies

3. Cybersecurity

Anyone actually do anything useful with the TPM module?

It seems like a lot of stuff i run across online are mainly applications that people wrote for their own company that utilize the TPM chip and use the Trouser's API. I was wondering if anyone here has done anything that uses the TPM for creating cryptographic keys? Is there any software out... (1 Reply)
Discussion started by: ysatxh
1 Replies

4. Shell Programming and Scripting

Which Perl Module to use?

Hi, I need to read an excel binary file and write the data to a text file. Is it possible using Spreadsheet-ParseExcel-0.58 ? If not, is there any module available in CPAN to do this? Thanks, Js (1 Reply)
Discussion started by: jisha
1 Replies

5. Shell Programming and Scripting

Perl Module

Hi, Please help me!! Im wondering if anyone can help me with a problem i have with some perl modules. My problem is: I'm trying to connect remote host to a unix box from a windows machine. So i'm developing an application to do this. I'm programming it in perl with tcl/tk Gui interface.... (13 Replies)
Discussion started by: Phi01
13 Replies

6. Shell Programming and Scripting

Help with Perl Module

I dont know if this is a dumb question, but I am unable to move ahead and need help - There is a perl module called Header.pm which was written by someone else. I am trying to write a simple perl script which uses a function provided by the module. The function has been exported by the module... (9 Replies)
Discussion started by: NewDeb
9 Replies

7. IP Networking

kernel module

Hi All, I need to develop a kernel module which changes the IP address of a package according to its mac address. It would be a sort of L2 Nat. Somebody know if I can do this using netfilter?? Thanks. (2 Replies)
Discussion started by: lagigliaivan
2 Replies

8. Linux

How to convert Linux Kernel built-in module into a loadable module

Hi all, I am working on USB data monitoring on Fedora Core 9. Kernel 2.6.25 has a built-in module (the one that isn't loadable, but compiles and links statically with the kernel during compilation) to snoop USB data. It is in <kernel_source_code>/drivers/usb/mon/. I need to know if I can... (0 Replies)
Discussion started by: anitemp
0 Replies

9. UNIX for Dummies Questions & Answers

LWP module ?

my host run on a Free bsd server and i have a cgi script that requires LWP module, but i my host say that that module is installed, so i would like to know if the is a command because i have telnet access to know if the module or which modules are installed on my account (itīs that the script donīt... (4 Replies)
Discussion started by: Beto
4 Replies

10. UNIX for Dummies Questions & Answers

PHP Module

Ok..i've installed Apache 1.3.14, and it runs... BUT...I can't figure out how to get the php-4.0.4 module to run, and i've read through the install file and EVERYTYHING, aafter about 10 attempts I pissed myself off enough to goto sleep...Can anyone suggest a place to look for a lil bit more help?... (10 Replies)
Discussion started by: ComTec
10 Replies
Login or Register to Ask a Question