Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Net::SSH::Perl::Auth::UsertContributed Perl DocNet::SSH::Perl::Auth::Rhosts(3)

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.24.1			  2017-03-12   Net::SSH::Perl::Auth::Rhosts(3)

NAME | SYNOPSIS | DESCRIPTION | AUTHOR & COPYRIGHTS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Net::SSH::Perl::Auth::Rhosts&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help