09-22-2009
Again I am very novice and dont know what you mean here.
10 More Discussions You Might Find Interesting
1. Solaris
On Solaris 5.9, is there any way to pass parameter(s), via SSH, to a command defined in the remote host's authorized_keys file?
We have a menu that uses SSH to control some apps on our various hosts. I've been tasked with enhancing it and making it more secure.
So far, the local host menu... (2 Replies)
Discussion started by: PabloCruise77
2 Replies
2. AIX
I'm trying to run a command over ssh to AIX 5.2, something like:
ssh machine ls
but it just hangs. I can ssh into the machine and run a command, but can't pass it like above. Is there a security setting that disables this by default? If so, how do I change it?
Thanks! (8 Replies)
Discussion started by: hansnueski
8 Replies
3. Shell Programming and Scripting
Hi,
I wan to pass arguments to remote script in Unix .
For that I'm using ssh
PFB the code I'm using:
ssh -t -l osdac 10.81.33.51 "cd /appl/OSD/LOGS/flstr010/test.sh "$1" "$2""
Problem is I'm not able to pass second argument .
Can anyone plz help me in resolving this. (5 Replies)
Discussion started by: suchitasaner27
5 Replies
4. Shell Programming and Scripting
I have a requirement, I need to run a command at remote system using a ssh. Is there any way we can pass the username and password in shell script to the ssh command as we did it in one of the shell script for FTP.
ftp -n $i <<!EOF >>
user Username $PASSWD
cd /home/scripts
... (5 Replies)
Discussion started by: Muktesh
5 Replies
5. Shell Programming and Scripting
ssh/sftp login by passing password , is it possible.Don't want to expect. (1 Reply)
Discussion started by: dinjo_jo
1 Replies
6. Shell Programming and Scripting
How can I pass password in SSH command without using expect in a shell program.
I don't have expect installed on my Solaris server.
#!/bin/bash
ssh user@hotname (how to supply pass in script?:wall:)
Experts please help its very urgent.
Shrawan Kumar Sahu (4 Replies)
Discussion started by: ss135r
4 Replies
7. Shell Programming and Scripting
I want to do following 2 commands via script:
1) eval `ssh-agent`2) ssh-add /export/home/sufuser/.ssh/id_rsa When asked for passphrase enter "passwordpassword1234
but whenever I run the script it stucks after "ssh-add /export/home/sufuser/.ssh/id_rsa" command and asks fro... (4 Replies)
Discussion started by: yogeshpawar
4 Replies
8. Shell Programming and Scripting
Hi Experts,
I have specific requirement where I want to pass the password with the ssh username@hostname command .
I dont want to use RSA public and private keys also. Because that will be on production server and no one wants to give access like that.
Second thing it is production... (14 Replies)
Discussion started by: sharsour
14 Replies
9. Shell Programming and Scripting
I have a script like this
#!/bin/bash
hello=$1
echo `hostname` $hello
ssh gtint16 "echo $hello"
if I run this as #script.sh "hello''", it prints only hello on that ssh session and not the single quotes, but locally its printing hello''. I want the single quotes also to be printed... (2 Replies)
Discussion started by: Tuxidow
2 Replies
10. Shell Programming and Scripting
Hi Guys n Girls,
Below im using a while command to wait for a file on another server then carrying on with the script.....
I dont believe the $Sausage1 variable is being passed to the other server so its not finding the file. If i replace the variable with the date then it works as expected.
... (2 Replies)
Discussion started by: twinion
2 Replies
LEARN ABOUT DEBIAN
go::model::graphiterator
GO::Model::GraphIterator(3pm) User Contributed Perl Documentation GO::Model::GraphIterator(3pm)
NAME
GO::Model::GraphIterator - Graph iterator
SYNOPSIS
$it = $graph->create_iterator;
# returns a GO::Model::GraphIterator object
while (my $ni = $it->next_node_instance) {
$depth = $ni->depth;
$term = $ni->term;
$reltype = $ni->parent_rel->type;
printf
"%s %8s Term = %s (%s) // depth=%d
",
"----" x $depth,
$reltype,
$term->name,
$term->public_acc,
$depth;
}
DESCRIPTION
SEE ALSO
GO::Model::Graph
GO::Model::GraphNodeInstance
order
Usage - $graphiter->order("breadth");
Returns - string
Args - string
gets/sets traversal order; breadth or depth; default is depth
direction
Usage - $graphiter->direction("up");
Returns - string
Args - string
gets/sets direction; default is "down"
compact
Usage - $graphiter->compact(1);
Returns - bool
Args - bool
set this if you dont want relationships to be traversed twice; this gives a more compact tree representation of the graph
reltype_filter
Usage - $graphiter->reltype_filter(qw(is_a part_of))
Returns - array
Args - array
by default, all relationship types are treated as transitive, and will be traversed by the iterator
sometimes you dont want to traverse all relations, even if they are transitive. For example, when answering the query "find all genes
expressed in the embryo" you way want subtypes of embryo and parts of the embryo but not things that develop_from the embryo.
For more details, see <http://sourceforge.net/mailarchive/forum.php?thread_id=9448679&forum_id=43082>
reset_cursor
Usage -
Returns -
Args -
next_node
Usage -
Returns - GO::Model::Term
Args -
next_node_instance
Usage -
Returns - GO::Model::GraphNodeInstance
Args -
flatten
Usage -
Returns -
Args -
_sortby_pos_in_list
Careful, this sort function work on Term objects, not GraphNodeInstance objects. Comparison is done by the name of the term.
perl v5.14.2 2013-02-07 GO::Model::GraphIterator(3pm)