|
NAMEAuthen::Simple::SSH - Simple SSH authentication SYNOPSIS use Authen::Simple::SSH;
my $ssh = Authen::Simple::SSH->new(
host => 'host.company.com'
);
if ( $ssh->authenticate( $username, $password ) ) {
# successfull authentication
}
# or as a mod_perl Authen handler
PerlModule Authen::Simple::Apache
PerlModule Authen::Simple::SSH
PerlSetVar AuthenSimpleSSH_host "host.company.com"
<Location /protected>
PerlAuthenHandler Authen::Simple::SSH
AuthType Basic
AuthName "Protected Area"
Require valid-user
</Location>
DESCRIPTIONSSH authentication. METHODS
SEE ALSOAuthen::Simple. Net::SSH::Perl. AUTHORChristian Hansen "ch@ngmedia.com" COPYRIGHTThis program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
|