Establishes a connection to the Remote Host.
Note: Some systems limit the username to eight (8) characters or less. The Telnet Factory for .NET implementation does not restrict the length of usernames. If you have difficulty logging in to a Remote Host using a non-truncated username, try using the username truncated to 8 characters.
Rlogin requires Remote Host authorization to execute the command. This is accomplished using a combination of two system files, hosts.equiv and .rhosts, depending on your system. For example, FreeBSD only requires the host/username entry in hosts.equiv, which is located in /etc by default. Consult your system documentation for more information about managing remote logins.
To establish a connection to a Remote Host, create an Rlogin instance and provide the required hostname and username.
[C#]
Rlogin rlogin = new Rlogin();
rlogin.Connect("remotehost.com", "username");
[Visual Basic]
Private WithEvents rlogin As Rlogin
rlogin = New Rlogin
rlogin.Connect("remotehost.com", "username")
Rlogin Class | Jscape.Telnet Namespace | Rlogin.Connect Overload List