Sponsored Content
Full Discussion: SSH on a Shell Script
Top Forums UNIX for Dummies Questions & Answers SSH on a Shell Script Post 302772811 by mathbalaji on Wednesday 27th of February 2013 01:09:51 AM
Old 02-27-2013
Unfortunately, I don't have expect as well (I'm really not helping here, am I?)

Smilie

Can you explain on how to set up the reverse trust?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Problem with SU or SSH in shell script

Hi Floks! This is Sravan! I am new to linux and I am trying to write bash shell script in which I want to change the user but the statements which are after the "su " command are not working that I mean I want to execute some statements as the changed user here is the code ... (2 Replies)
Discussion started by: sravanp
2 Replies

2. Shell Programming and Scripting

ssh into a shell script (KSH)

Hi all, Just like to ask if it is possible to do the following: 1. Have a shell script that calls ssh username@destinationhost 2. Upon successful verification, we ssh into the destination host and automatically use ksh to run a shell script that resides in the destination host. (Hopefully no... (8 Replies)
Discussion started by: rockysfr
8 Replies

3. Shell Programming and Scripting

ssh using shell script

I need to ssh a server using shell script and run certain commands there. Please let me know how to do it . Thanks! (4 Replies)
Discussion started by: asth
4 Replies

4. Shell Programming and Scripting

Help with ssh command in shell script

Hi All, I am using ssh in my shell script. Can any one please suggest me option so that i can avoid the login message as below in the execution: NOTE: Please note that you have logged into the newer version of server "gabbro" ******* Performing functions to this computer withe the... (6 Replies)
Discussion started by: vikash_k
6 Replies

5. Shell Programming and Scripting

shell script to ssh a file

hi all, needed some help writing a script (preferably in ksh) which : 1) detects if a file with ext '.kbs' has been changed. This file always sits in a particular dir. 2) if file has been changed then scp that file from one serverA to another serverB. so far i have not done any... (2 Replies)
Discussion started by: cesarNZ
2 Replies

6. Shell Programming and Scripting

ssh in shell script

Hi all, I am trying to write a script in shell which can connect me to a remote server and run some commands my problem is i cant pass the password barrier.I read a lot of articles where bloggers have suggested not to use telnet and to use something more secure like ssh.I tried ssh but as soon... (8 Replies)
Discussion started by: pistachio
8 Replies

7. Shell Programming and Scripting

SSH shell script does not work

Hello I have a Zabbix Server were Linux kernel version 2.6.26-2-amd64 is running. now my Question how can i make a script that does: - connect with ssh to a device - get the systeminfo (but only the interfaces, mac adresses, serialnumber and Software version) - write the output in a file ... (18 Replies)
Discussion started by: Fraggy
18 Replies

8. Shell Programming and Scripting

How to use ssh execute other shell script on other host (shell script include nohup)?

i want use ssh on the host01 to execute autoexec.sh on the host02 like following : host01> ssh host02 autoexec.sh autoexec.sh include nohup command like follwing : nohup /home/jack/deletedata.sh & after i execute ssh host02 autoexec.sh one the host01. i can't found deletedata.sh... (1 Reply)
Discussion started by: orablue
1 Replies

9. Shell Programming and Scripting

Shell Script with ssh command

How do I use the ssh command to connect to another server without the password prompt? I use: ssh user@host and it prompts for the password. how do I include the password in the ssh command? alternatively, how do you execute 1 command from server A on server B? thanks, ... (4 Replies)
Discussion started by: toughlittleone
4 Replies

10. UNIX for Advanced & Expert Users

SSH using shell script terminates the script execution

Hello, I am writing a shell script in which i do ssh to remote server and count the number of files there and then exit. After the exit the shell script terminates which i believe is expected behavior. Can some one suggest me a way where even after the exit the script execution resumes. ... (2 Replies)
Discussion started by: manaankit
2 Replies
Net::DNS::SEC::Tools::TrustAnchor(3pm)			User Contributed Perl Documentation		    Net::DNS::SEC::Tools::TrustAnchor(3pm)

NAME
Net::DNS::SEC::Tools::TrustAnchor - base class for TA repositories SYNOPSIS
This is a base class for multiple types of trustanchor repositories that know how to read, write, and modify trust anchor repositories. This package serves as both a API wrapper around a set of trust anchors as well as a base class for packages that need to read/write trust anchor sets into different formats. Trust Anchors may be either DNSKEY records or DS references. XXX: more documentation needed API
Usage API defined by this module or sub-modules. Note that: use Net::DNS::SEC::Tools::TrustAnchor; is assumed to have imported some of the API routines mentioned below. $tar = new Net::DNS::SEC::Tools::TrustAnchor(); Initializes a new collection of trust anchors. $module = load_module("type"); Dynamically attemps to load a TrustAnchor reader/writer sub-class of Net::DNS::SEC::Tools::TrustAnchor named "Type" and return an instance of it. All sub-classes are assumed to contain a single letter upper-case class name followed by all lower case. Any modules otherwise named will fail to load using this routine. $module = parse_component("type:file"); This parses a type and file specification consisting of type separated by a colon (':') followed by a file-name path. It will then load the type module using the load_module() rotine and return the type, the file and extra options. XXX: option parsing support not yet complete and will likely change the type:file format specification; I.E. the type:file formatting specification will likely change in the future and should be considered alpha-level support. $tar = $module->read($location, $options); Reads in a given TAR from a $location reference and returns a blessed copy of the Net::DNS::SEC::Tools::TrustAnchor object containing all the data. This function may be over-ridden by a sub-class. $tar = $module->read($location, $options); Reads in a given TAR from a $location reference and returns an unblessed hash the contents. The read() function merely wraps around this and blesses it after being returned. Sub-modules must over-ride this function (and/or the read() function) if they expect the module to support loading. $tar->merge(@others) Merges the @other array of trust anchors into the $tar object's own trust anchor list. AUTHOR
Wes Hardaker <hardaker ATTA users.sourceforge DOTTTY net> SEE ALSO
convertar(1) perl v5.14.2 2012-06-28 Net::DNS::SEC::Tools::TrustAnchor(3pm)
All times are GMT -4. The time now is 06:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy