Solaris Advanced User's Guide

Aborting an rlogin Connection

Normally you terminate an rlogin connection by typing logout at the end of a work session. If cannot terminate a session in this manner, you can abort the connection by typing a tilde character followed by a period (~.). The remote login connection to the remote machine is aborted and you are placed back at your original machine.

If you log in to a series of machines, gaining access to each machine through another machine, and you use ~. to abort the connection to any of the machines, you are returned to your original machine.


venus$ rlogin starbug -l user2
Password:
Last login: Thu Nov  2 15:13:10 from venus
Sun Microsystems Inc.   SunOS 5.9       Generic February 2002
starbug$ ~.  (You may not see the ~ on the screen.)
Closed connection.
venus$

If you want to back up to an intermediate rlogin connection, use two tildes followed by a period (~~.).


venus$ rlogin starbug -l user2
Password:
Last login: Thu Nov  2 15:14:58 from venus
Sun Microsystems Inc.   SunOS 5.9       Generic February 2002
starbug$ rlogin rlogin earth -l user2
Password:
Last login: Thu Nov  2 15:24:23 from starbug
Sun Microsystems Inc.   SunOS 5.9       Generic February 2002
earth$ ~~.  (You may not see the ~~ on the screen.)
Closed connection.
starbug$