07-18-2012
You may want to start with learning the
Net::SSH module.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
All
I want to call a perl program from my shell script. Please help me. I want to call through URL only. Like " http://www.test.com/CGI-bin/test?test=value"
Please help to write this script. Thanx in advance.
Thanking you
Regards
Deepak Xavier (0 Replies)
Discussion started by: DeepakXavier
0 Replies
2. Shell Programming and Scripting
Hi all,
Not sure if this is the right forum to post query regarding perl script.
I have a perl script which internally calls a shell script. My problem is that the shell script should be passed command line arguments.
I call a shell script from perl using:
system("sript.sh");
How do... (3 Replies)
Discussion started by: gurukottur
3 Replies
3. Shell Programming and Scripting
Hi,
I have one shel script which returns some value and I am calling this shell script from a perl script which needs the out put/return value of shell script.
But I don't know how to collect the output/return value of the shell script. Can any one give some idea on it?
For example:
The... (1 Reply)
Discussion started by: siba.s.nayak
1 Replies
4. Shell Programming and Scripting
How to call a perl script in shell program / shell scripting.
PLS HELP ME (2 Replies)
Discussion started by: hravisankar
2 Replies
5. Shell Programming and Scripting
Hi,
ive a perl script, where it has a subroutine clear() in it, and i've one shell script which runs in background, from that shell script i wanted to call subroutine which is in perl script, that's perl script is not module, just simple script.
Eg:
perl script <test>
#!... (4 Replies)
Discussion started by: asarunkumar
4 Replies
6. Shell Programming and Scripting
I have a shell script like this:
#!/bin/sh
$PYTHON MetarDecoder.py < ../data/mtrs/arg1/arg2
And I'm calling it with this in perl:
my $output = `./metar_parse.sh --options`;
It's successful when I put in actual values for arg1 and arg2 in the shell script, but I'd like to pass arguments... (1 Reply)
Discussion started by: civilsurfer
1 Replies
7. Shell Programming and Scripting
Can someone let me know how could I achieve this
In one of per script I am calling the shell script but I need to so one thing that is one shell script call I need to pass pne argument.In below code I am calling my ftp script but here I want to pass one argument so how could I do this (e.g:... (5 Replies)
Discussion started by: anuragpgtgerman
5 Replies
8. UNIX for Advanced & Expert Users
I am currently in Afghanistan and do not have access to some of the resources I normally do back in the US. Just accessed this site and it looks promising! Hopefully you will not find my question too much of a waste of your time.
I write mostly Korn Shell and PERL on Solaris systems for the... (2 Replies)
Discussion started by: mseanowen
2 Replies
9. Shell Programming and Scripting
hi All,
There is a requirement where i need to call a script which is on another server(say server2).
Any pointers on how i can achieve this?
I tried the command
ssh **ipaddress** /home/mqm/jay.sh
but its not working...after typing in the command the cursor goes to the next line thats... (7 Replies)
Discussion started by: jayii
7 Replies
10. Shell Programming and Scripting
I am calling a perl script from shell script.
$ cat mah_appln_bkp_oln.ksh
#!/bin/ksh
. /udb/home/udbappln/.profile
. /udb/home/udbappln/sqllib/db2profile
Com=/udb/udbappln/utility/systemscripts/currentUMR
perl $Com/backup.pl -d dbname --tsm --purgetsmcopies 21 --purgetsmlogs
exit 0
... (1 Reply)
Discussion started by: ilugopal
1 Replies
LEARN ABOUT MOJAVE
net::dns::rr::sshfp5.18
Net::DNS::RR::SSHFP(3) User Contributed Perl Documentation Net::DNS::RR::SSHFP(3)
NAME
Net::DNS::RR::SSHFP - DNS SSHFP resource record
SYNOPSIS
use Net::DNS;
$rr = new Net::DNS::RR('name SSHFP algorithm fptype fp');
DESCRIPTION
DNS SSH Fingerprint (SSHFP) resource records.
METHODS
The available methods are those inherited from the base class augmented by the type-specific methods defined in this package.
Use of undocumented package features or direct access to internal data structures is discouraged and could result in program termination or
other unpredictable behaviour.
algorithm
$algorithm = $rr->algorithm;
The 8-bit algorithm number describes the algorithm used to construct the public key.
fptype
$fptype = $rr->fptype;
The 8-bit fingerprint type number describes the message-digest algorithm used to calculate the fingerprint of the public key.
fp
$fp = $rr->fp;
Hexadecimal representation of the fingerprint digest.
fpbin
$fpbin = $rr->fpbin;
Returns opaque octet string representing the fingerprint digest.
babble
print $rr->babble;
The babble() method returns the 'BabbleBubble' representation of the fingerprint if the Digest::BubbleBabble package is available,
otherwise an empty string is returned.
Bubble babble represents a message digest as a string of "real" words, to make the fingerprint easier to remember. The "words" are not
necessarily real words, but they look more like words than a string of hex characters.
Bubble babble fingerprinting is used by the SSH2 suite (and consequently by Net::SSH::Perl, the Perl SSH implementation) to display easy-
to-remember key fingerprints.
The 'BubbleBabble' string is appended as a comment to the RDATA when the string method is called.
COPYRIGHT
Copyright (c)2007 Olaf Kolkman, NLnet Labs.
Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
All rights reserved.
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
perl, Net::DNS, Net::DNS::RR, RFC4255
perl v5.18.2 2014-01-16 Net::DNS::RR::SSHFP(3)