Difference between revisions of "UNIX"
(Add explain shell and Advanced bash-scripting guide) |
(Add resources for ssh keys and ssh-agent) |
||
Line 11: | Line 11: | ||
MacOS and Linux users can use [http://openssh.org/ OpennSSH] on the command line (it generally comes with the OS). | MacOS and Linux users can use [http://openssh.org/ OpennSSH] on the command line (it generally comes with the OS). | ||
+ | |||
+ | === Resources for setting up ssh keys === | ||
+ | |||
+ | Visual guide to how ssh-keys and <code>ssh-agent</code> work: [http://www.unixwiz.net/techtips/ssh-agent-forwarding.html An Illustrated Guide to SSH Agent Forwarding] | ||
+ | |||
+ | For setting up <code>ssh-agent</code> (so you don't have to type your password over and over): [http://blog.joncairns.com/2013/12/understanding-ssh-agent-and-ssh-add/ Understanding ssh-agent and ssh-add] | ||
+ | |||
+ | Script for automatically starting <code>ssh-agent</code> on login of a machine (place in your <code>.profile</code>/<code>.bash_profile</code>): [https://stackoverflow.com/a/18915067/7564988 StackOverflow: Start ssh-agent on login] | ||
== Command Line Basics == | == Command Line Basics == |
Revision as of 17:59, 27 May 2020
Most of our systems (and general HPC resources) run some UNIX derivative. Much of the software is command line based, so it's worthwhile to learn the basics.
There are tons of free resources on the web for getting started, for example this book. There should also be a "for dummies" book in the lab.
As you find resources that are helpful, please update this page.
Contents
Connecting (SSH)
Windows: PuTTY SSH Client WinSCP file transfer tool
MacOS and Linux users can use OpennSSH on the command line (it generally comes with the OS).
Resources for setting up ssh keys
Visual guide to how ssh-keys and ssh-agent
work: An Illustrated Guide to SSH Agent Forwarding
For setting up ssh-agent
(so you don't have to type your password over and over): Understanding ssh-agent and ssh-add
Script for automatically starting ssh-agent
on login of a machine (place in your .profile
/.bash_profile
): StackOverflow: Start ssh-agent on login
Command Line Basics
Slides and Video from CU's Research Computing group
"Learn Linux the Hard Way" (online book)
Explain Shell: Copy/paste a CLI command, and it will tell you what it all the flags mean
Graphical Sessions (VNC)
See VNC