The SCG cluster is a standard, HPC-style shared-resource cluster environment consisting of
- Compute and Login nodes
- Storage systems
- Ethernet network
Primary access to the SCG resources is via a Command Line Interface, in this case interfacing to the Linux CLI accessed remotely via Secure Shell (ssh). To access via SSH there will need to be an SSH client installed on the client workstation, desktop or laptop or a web based terminal is available via SCG OnDemand Shell Access. For locally installed clients, depending on the Operating System used on the client system there are several options:
- Mac OSX (note that ssh tools are built in, but there are several terminal options)
- Everything needed is included. Because … Linux.
Working at the command line is not covered here, but there are many, many resources online to help get started using the Bash shell and unix command line tools. A short list of example sites is:
Example SSH connection¶
Using the SSH client, connect to the cluster by ssh’ing to the login nodes.
login.scg.stanford.edu is an alias which will resolve to the “best” login
node available from a pool of login nodes:
[griznog@gambusia ~]$ ssh firstname.lastname@example.org email@example.com's password: Duo two-factor login for griznog Enter a passcode or select one of the following options: 1. Duo Push to XXX-XXX-4102 2. Phone call to XXX-XXX-4102 3. SMS passcodes to XXX-XXX-4102 Passcode or option (1-3): 1 Success. Logging you in... Last login: Fri Jan 4 17:35:46 2019 from 126.96.36.199 __ __ _ _ \ \ / /__| |__ ___ _ __ ___ | |_ ___ \ \/\/ / -_) / _/ _ \ ' \/ -_) | _/ _ \ \_/\_/\___|_\__\___/_|_|_\___| \__\___/ ___ __ __ _ O o O o O o (_-</ _/ _` | | O o | | O o | | O o | /__/\__\__, | | | O | | | | O | | | | O | | |___/ | o O | | o O | | o O | o O o O o O Keep up-to-date on SCG by following #announce in our Slack Workspace at https://susciclu.slack.com Problems: Send email to firstname.lastname@example.org or if you prefer a more interactive method, use your Stanford email to sign up at our Slack work- space: https://susciclu.slack.com and ask in #general or dm to @griznog Like Disclaimers?: This system may contain research data whose use is subject to restrictions from government agencies, contractual partners, or research sponsors. Any use of this data must be authorized by the Principal Investigator. Contact email@example.com for more information on the terms and conditions governing the use of this data. [griznog@smsx10srw-srcf-d15-38 ~]$
NOTE : SCG accepts Kerberos tickets, SSH pubkey and Password authentication as the first factor for two-factor auth. If your laptop or workstation is configured with Stanford Kerberos, you may not see a password prompt or may be able to avoid it by using
kinit SUNetID@stanford.edubefore starting ssh. You can also set up SSH key authentication.