Changeset c8c45ee
- Timestamp:
- Sep 18, 2007 1:15:31 PM (17 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
- Children:
- d501c38
- Parents:
- a835df7
- Location:
- fedkit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fedkit/fed-tun.pl
ra835df7 rc8c45ee 51 51 my $tunnelcfg; 52 52 my $ssh_port_fwds = ""; 53 my $remote_script_dir; # location of the other sides fed-tun.pl 53 54 54 55 if ($#ARGV != 0 && !getopts('df:r', \%opts)) { … … 86 87 $type = $opts{'type'}; 87 88 $type =~ tr/A-Z/a-z/; 89 $remote_script_dir = $opts{'remotescriptdir'} || "."; 88 90 89 91 if (defined($opts{'fsname'})) { … … 153 155 # the expected single line of output when the tunnel is connected. 154 156 155 open($SSHCMD[$count], "$SSH -w $count:$count $ssh_port_fwds -o \"StrictHostKeyChecking no\" $opts{'peer'} \" ./fed-tun.pl -r $addr $count\" |") or die "Failed to run ssh";157 open($SSHCMD[$count], "$SSH -w $count:$count $ssh_port_fwds -o \"StrictHostKeyChecking no\" $opts{'peer'} \"$remote_script_dir/fed-tun.pl -r $addr $count\" |") or die "Failed to run ssh"; 156 158 157 159 my $check = <$SSHCMD[$count]>; # Make sure something ran... -
fedkit/splitter.pl
ra835df7 rc8c45ee 453 453 print $gwconfig "FsName: $fs{$master}$domain{$master}\n"; 454 454 print $gwconfig "Type: $type\n"; 455 print $gwconfig "RemoteScriptDir: /proj/$project{$dtb}/exp/$eid/tmp\n"; 455 456 print $gwconfig "Peer: $desthost$ddomain\n"; 456 457 print $gwconfig "Pubkeys: " .
Note: See TracChangeset
for help on using the changeset viewer.