Net::SSH::Perl::Auth::Rhosts(3pUser Contributed Perl DocumentatiNet::SSH::Perl::Auth::Rhosts(3pm)
NAME
Net::SSH::Perl::Auth::Rhosts - Perform Rhosts authentication
SYNOPSIS
use Net::SSH::Perl::Auth;
my $auth = Net::SSH::Perl::Auth->new('Rhosts', $ssh);
print "Valid auth" if $auth->authenticate;
DESCRIPTION
Net::SSH::Perl::Auth::Rhosts performs Rhosts authentication with a remote sshd server.
When you create a new Rhosts auth object, you give it an $ssh object, which should contain
an open connection to an ssh daemon, as well as any data that the authentication module
needs to proceed. In this case, the $ssh object must contain the name of the user trying
to open the connection.
Rhosts authentication is fairly simple from a protocol point of view. However, note that
the sshd server will require your client to be running on a privileged port (below 1024);
this will, in turn, likely require your client to be running as root. If your client is
not running on a privileged port, the Rhosts authentication request will be denied.
If you're running as root, Net::SSH::Perl should automatically detect that and try to
start up on a privileged port. If for some reason that isn't happening, take a look at the
Net::SSH::Perl docs.
With that aside, to use Rhosts authentication the client sends a request to the server to
authenticate it, including the name of the user trying to authenticate. The server uses
its shosts.equiv, hosts.equiv, etc. files to determine whether the user/host should be
allowed access.
AUTHOR & COPYRIGHTS
Please see the Net::SSH::Perl manpage for author, copyright, and license information.
perl v5.10.0 2003-12-03 Net::SSH::Perl::Auth::Rhosts(3pm)
Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2012-05-24 21:19 @38.107.179.240 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)