in reply to Re^4: Net::SSH::Perl script in windows - getpwuid is unimplemented
in thread Net::SSH::Perl script in windows - getpwuid is unimplemented
my $home should read:sub _proto_init { my $ssh = shift; my $home = $ENV{HOME} || $ENV{USERNAME}; unless ($ssh->{config}->get('user_known_hosts')) { 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"); }
my $home = $ENV{HOME} || $ENV{USERNAME};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Net::SSH::Perl script in windows - getpwuid is unimplemented
by Anonymous Monk on Feb 26, 2010 at 07:24 UTC | |
by sthirumalai (Novice) on Mar 10, 2010 at 00:14 UTC |