10 More Discussions You Might Find Interesting
1. Web Development
My .NET website invokes a perl script to perform GIT operations on Gerrit server running UBuntu. In the perl script I connect using passwordless authentication to Gerrit server as below:
system ( "ssh gitadmin@gerritserver.com 'cd /xyz && git clone xxx' ");
I verified that ssh authentication... (3 Replies)
Discussion started by: tkota
3 Replies
2. Shell Programming and Scripting
I have some sample code that's supposed to ssh to another machine using Net::SSH::Perl, execute a command, and print
the output of that command. It's very basic, and it works. However, I noticed that upon logging in:
$ssh->login('username','password');
It takes roughly 10-13 seconds to... (2 Replies)
Discussion started by: mrwatkin
2 Replies
3. Shell Programming and Scripting
So, I installed the Net::OpenSSH module and I am having trouble getting it to work. It appears to be failing on this code:
my $ssh = Net::OpenSSH->new('user:passwd@host.com');
$ssh->error and
die "Couldn't establish SSH connection: ". $ssh->error;
It's pretty simple code. I keep... (0 Replies)
Discussion started by: mrwatkin
0 Replies
4. Shell Programming and Scripting
Wondering if anyone can help or advise on following issue.
The below script should simply connect to a different server and retrieve certain files for me.
use lib "/xxxxx/xxxxx/xxxxx/xxxx";
use Net::FTP;
my $directory = "xxxxxxxx";
my $destinationDir = "xxxxxxxxx";
my $filePrefix =... (1 Reply)
Discussion started by: meevagh
1 Replies
5. Shell Programming and Scripting
I am trying to execute a script in another server, i used Net::Ftp module
How to execute unix command in another server by using Net::Ftp module..
#!/usr/bin.perl
### Perl script to
$ftp->login($user_name,'password')
or die "Cannot login ", $ftp->message;... (2 Replies)
Discussion started by: pritish.sas
2 Replies
6. Shell Programming and Scripting
We are getting some special scenarios where Net::SMTP is not working for some mails.
we are sending a similar kind of data via mails but some of the mails are not received.
After checking the Net::SMTP in debug mode we found below difference:
Good One - (Mail sent properlly)
---
-----... (0 Replies)
Discussion started by: NIMISH AGARWAL
0 Replies
7. Shell Programming and Scripting
Hello,
I am trying to download several files from a remote FTP server using Net::FTP from within a perl script. The files download alright, except they appear to be corrupted. I know this because once after downloading, I use bzcat to pipe the files to a split command, and bzcat complains saying... (3 Replies)
Discussion started by: amcrisan
3 Replies
8. Shell Programming and Scripting
HI All,
NET::FTP->new($server, DEBUG=>1);
I need to get all the Debug Messages in an array or a file....
Please suggest!! (0 Replies)
Discussion started by: angad.makkar
0 Replies
9. Shell Programming and Scripting
I am looking for a full Perl course on internet (tutorial) to learn everything about Perl. I already know a bunch of programing languages.
I have started Unix interests this year ever since I installed Ubuntu Linux on my PC AND I also got a job at IBM doing software distributions with... (1 Reply)
Discussion started by: Browser_ice
1 Replies
10. Shell Programming and Scripting
Problem:
It will not advance to the next user in the list. It always dies right after it sends the 2/2 files from the first users dir.
$USERLIST="/export/home/mxdooley/perl_ftp/userlist";
$USER_DIR="/export/home/mxdooley/perl_ftp/homes";... (2 Replies)
Discussion started by: Optimus_P
2 Replies