1
vote
3answers
303 views

How to get password prompt from ssh in Perl script

When I execute this from command line, I get prompted for joe's password (which is what I want): ssh -t 192.168.1.32 'scp joe@192.168.1.31:/etc/hosts /tmp' When I try to run the same command from ...
1
vote
2answers
152 views

Making a user account dedicated to a single script in centos

I am trying to make a SSH login for someone on my box. But when they login I want it to auto load a perl script and for them ONLY to be aloud to see / use that perl script. I only know how to use ...
0
votes
1answer
54 views

what does the perl command do in this script? [closed]

I am working on a system that has a staging environment and a live environment. We have a problem with images not getting pushed to live and I have found the following script that handles it: ...
1
vote
2answers
2k views

What's wrong with this installation of Net::SSH2 Perl module?

I am trying to install Net:SSH2 Perl module, but I run in this error: [root@script-server fmzbih_cms_weather_updater]# cpanm Net::SSH2 --> Working on Net::SSH2 Fetching ...
1
vote
4answers
761 views

SSH key based authentication in Perl server

I have a server written in Perl that clients connect to in order to perform some management tasks. Without going into details I would like to achieve two things: encrypt connection channel between ...
3
votes
4answers
279 views

SSH file transfers hang after ~700KB

OVERVIEW I'm scripting SFTP file transfers on a Windows 7 box in the field. When I transfer zip files larger than a megabyte or so, the transfer (and SSH) stops unexpectedly after about 700KB. The ...
1
vote
1answer
224 views

SSH executed from Perl get SIGSTOP instantly

I have some perl script which executes some commands on remote gerrit server via SSH. It's running on a Debian lenny virtual machin. During several monthes it was executed in the following way: ...
0
votes
2answers
750 views

Perl script that will remotely ssh to linux and get memory status back to my machine

I need help. I have Linux box (openSUSE 11.4); writing Perl script (Perl 5, version 12). My script should SSH to the remote Linux machine and get back with the memory results. So far, I have SSH ...
0
votes
3answers
563 views

using perl how can i automte login to remote linux host using ssh

currently, i have statements like : system("ssh -o StrictHostKeyChecking=no root\@${address} \"cat /var/log/messages""); This did not require a password, since the two systems were setup with proper ...