Help for this page

Select Code to Download


  1. or download this
    sub _proto_init { 
        my $ssh = shift; 
    ...
            defined $home or croak "Cannot determine home directory, pleas
    +e set the environment variable HOME"; 
            $ssh->{config}->set('user_known_hosts', "$home/.ssh/known_host
    +s2"); 
    }
    
  2. or download this
    my $home = $ENV{HOME} || $ENV{USERNAME};