Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: ssh wrapper

by radiantmatrix (Parson)
on Mar 28, 2006 at 18:33 UTC ( [id://539774]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/bin/bash
    if [ "$1" == "" ]; then
    ...
    else
       ssh $0
    fi
    
  2. or download this
    $ ~/ssh/myhost.org radmat
    
  3. or download this
    #!/usr/bin/perl
    if (!defined $ARGV[0] || $ARGV[0] eq '') { 
    ...
    else { 
       exec('ssh',"$ARGV[0]\@$0") 
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://539774]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-06-19 22:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.