Skip to content

Commit

Permalink
Merge pull request #171 from EPCCed/aaron-docs
Browse files Browse the repository at this point in the history
Add instructions for creating PuTTY SSH Jumps
  • Loading branch information
akrause2014 authored Sep 18, 2024
2 parents 614d6b1 + ec73393 commit 12028d9
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
35 changes: 35 additions & 0 deletions docs/access/ssh.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,41 @@ Windows will require the installation of OpenSSH-Server to use SSH. Putty or Mob
You will be prompted for a 'TOTP' code upon successful public key authentication to the gateway. At the TOTP prompt, enter the code displayed in your MFA Application.
### Accessing with PuTTY
#### Creating the Gateway Config
1. Install PuTTY v0.81 or greater and launch it
1. From the default 'Session' menu, input the gateway URL: `eidf-gateway.epcc.ed.ac.uk`
1. Set the port to `22`
1. Naviagte to 'Connection' > 'SSH' > 'Auth' > 'Credentials'
1. Specify your gateway private key by selecting the 'Browse' button next to 'Private key file for authentication'
1. Select the path to your SSH key for your gateway account
1. Return to the main 'Session' tab and in the empty box under 'Saved Sessions' input a memorable name, for example 'eidf-gateway'
1. Click Save
#### Adding a client/VM config
Now we can create a config session for a VM which can be connected to through the gateway
1. From the 'Sessions' tab, select 'Default Settings' in the 'Saved Settings' box and select 'Load'
1. Input the hostname/IP of the VM, e.g. 10.24.X.Y.
1. Ensure the port is `22`
1. From the navigation menu, move to 'Connection' > 'Proxy'
1. Select 'Proxy Type' at the top to 'SSH to proxy and use port forward'. *Note this doesn't exist in older versions of PuTTY*
1. Under 'Proxy Hostname', set the name of the gateway session you created above. In the SOP this was called 'eidf-gateway'
1. Set the Port to `22`
1. Put your eidf-gateway username into the 'Username' box
1. Set 'Do DNS name lookup at proxy end' to 'Yes'
1. Navigate to 'Connection' > 'SSH' > 'Auth' > 'Credentials' and select 'Browse' next to the 'Private key file for authentication' box
1. Select your private key for your VM account (this may be the same as the gateway)
1. Navigate to 'Connection' > 'Data'
1. Put your VM username into the 'Auto-Login username' box
1. Return to the original 'Sesstion' tab
1. Put the VM name or a nickname into the 'Saved Settings' name box
1. Select 'Save'
1. Select 'Open' and you should connect to your VM.

## SSH Aliases

You can use SSH Aliases to access your VMs with a single command.
Expand Down
1 change: 0 additions & 1 deletion docs/tutorial-videos/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
|--------| ------- |
| <a href="https://media.ed.ac.uk/playlist/dedicated/344588542/1_rnkb9fop/1_ep61dr8a">Using the EIDF VM Service</a> | Accessing the EIDF portal <br> Introduction to the project dashboard <br> Interfacing with the VM via the VDI (Remote Desktop) <br> Interfacing with the VM via the VDI (SSH)|
| <a href="https://media.ed.ac.uk/playlist/dedicated/344588542/1_1ijo745y/1_d9m9xjw4">SSH-ing into an EIDF VM (Windows)</a> <br> <a href="https://media.ed.ac.uk/playlist/dedicated/344588542/1_tzh85l9k/1_d9m9xjw4">SSH-ing into an EIDF VM (Mac/Linux)</a>| Generating an SSH key (Mac/Linux and Windows) <br> Registering an SSH public key with an EIDF project account <br> Setting up Multi-Factor Authentication <br> Verifying SSH access (Mac/Linux and Windows) |

0 comments on commit 12028d9

Please sign in to comment.