Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

The Terminal window

  • Macs and Linux have a Terminal programs program built-in – find it now on your computer
  • Windows optons:Windows 1010 or later:
    • Command shell Prompt or PowerShell has ssh and scp (may require latest Windows updates)
      • Start menu → Search for Command

...

Expand
title

...

Other Windows ssh/Terminal options

If your Windows version does not have ssh in Command Prompt or PowerShell:

...

...

    • Terminal) and pscp.exe (secure copy client)

...

More advanced options for those who want a full Linux environment on their Windows system:

  • Windows Subsystem for Linux – Windows 10 Professional includes a Ubuntu-like bash shells

...

...

...

  • A full Linux environment, including X-windows for running GUI programs remotely
  • Complicated to install

SSH

ssh is an executable program that runs on your local computer and allows you to connect securely to a remote computer. We're going to use ssh to access the lonestar6 compute cluster at TACC, where the remote host name is ls6.tacc.utexas.edu.

...

  • If your Windows does not have ssh, use PuTTY instead.

...

From now on, when we refer to "Terminal", it is either the Mac/Linux Terminal program, Windows Command Prompt or PowerShell, or the PuTTY program.

SSH

ssh is an executable program that runs on your local computer and allows you to connect securely to a remote computer. We're going to use ssh to access the lonestar6 compute cluster at TACC, where the remote host name is ls6.tacc.utexas.edu.

In your local Terminal window:

Code Block
languagebash
titleSSH to Lonestar6 at TACC
ssh <your_TACC_userID>@ls6.tacc.utexas.edu
# e.g.
ssh abattenh@ls6.tacc.utexas.edu
  • Answer yes to the SSH security question prompt
  • Enter the password associated with your TACC account
  • Wait for your 2-factor authentication code to arrive via SMS or app, then type it in
Expand
titleLoggin in with PuTTY

If you're using

...

PuTTY as your Terminal from Windows:

  • Double-click the Putty icon
  • In the PuTTY Configuration window
    • make sure the Connection type is SSH
    • enter

...

...

        • Lonestar6 into the Saved Sessions text box, then click Save
        • Next time select

...

        • Lonestar6 from the Saved Sessions list and click Load.
    • click Open button
    • answer Yes to the SSH security question
  • In the PuTTY terminal
    • enter your TACC user id after the "login as:" prompt, then Enter
    • enter the password associated with your TACC account
    • provide your 2-factor authentication code

The bash shell

You're now at a command line! It looks as if you're running directly on the remote computer, but really there are two programs communicating:

...