Howto::Access rlogin service: Difference between revisions

From Computer Science Wiki
Jump to navigation Jump to search
Line 20: Line 20:


=== Piggy Back ===
=== Piggy Back ===
One of the easiest and quickest way to access a specific node is to simply SSH to rlogin.cs.vt.edu and use the SSH client there to directly SSH to the node name.
One of the easiest and quickest way to access a specific node is to simply SSH to rlogin.cs.vt.edu and use the SSH client there to directly connect to the specific node name.
* <code>ssh <node>.rlogin</code>
* <code>ssh <node>.rlogin</code>



Revision as of 08:25, 29 July 2022

Introduction

Rlogin is our primary teaching resource. It allows faculty and students to work and develop software in a consistent Linux software environment.

Account

Access is controlled by a Computer Science specific account. Accounts for Non-CS students are disabled after each semester.

Primary Access

The primary way of accessing rlogin is using an SSH client. Linux and Macs usually come with SSH client already active. Windows users can install the client following these directions: https://code.visualstudio.com/docs/remote/troubleshooting#_installing-a-supported-ssh-client

  • Access a general computing node:
    • ssh <username>@rlogin.cs.vt.edu
  • Access a GPU enabled node:
    • ssh <username>@glogin.cs.vt.edu

Access a Specific Node

Using the primary access will load balance users across all the nodes. Sometimes a user needs to access a specific node, such as running a tmux session. There are several ways you can access a specific node.

Piggy Back

One of the easiest and quickest way to access a specific node is to simply SSH to rlogin.cs.vt.edu and use the SSH client there to directly connect to the specific node name.

  • ssh <node>.rlogin

Portal

There is an additional SSH host that will give users a menu that allows access to a specific node.

  • ssh <username>@portal.cs.vt.edu

SSH Bastion

With some client side configuration, portal can be used as a SSH bastion and allow access directly to a specific node name.

  • Locate or create your client SSH config file, the location is OS specific. On Linux it is generally: ~/.ssh/config
  • Edit the SSH config file and add the following block
Host *.rlogin
  ProxyCommand ssh -W %h:%p portal.cs.vt.edu
  • Now directly SSH to a node name from your machine
    • ssh <username>@<node>.rlogin

Another way to Access

We have a new additional way to access rlogin/glogin through a web browser. This is still considered experimental, so access is restricted to on-campus and VT VPN users only. It allows both command line and graphical interfaces.