make the ssh guide less shit

This commit is contained in:
ben clark 2021-04-04 21:30:27 +00:00
parent 8866416a36
commit 0c2dd35a37
1 changed files with 15 additions and 5 deletions

View File

@ -13,23 +13,26 @@ this guide is split into three parts:
# Windows
there are many many ways to connect to an SSH server on Windows, here's a sample of some of them.
### the fastest: via powershell
the fastest way to get started on south london using Windows is via Powershell. the latest versions of Windows 10 include an `ssh` binary that you can use to connect to servers such as southlondon.cc.
to connect, just open up a powershell window and type
```powershell
ssh <your username>@southlondon.cc -i <ssh private key path>
ssh <your username>@southlondon.cc
```
if you see a warning asking you to verify the fingerprint, just type 'yes' and it'll connect you up to the server. congrats! you're now connected to south london!
if your keys are in a weird place, append `-i <path to your private key>` to make sure ssh can see them.
if you see a warning asking you to verify the fingerprint, just type 'yes' and it'll connect you up to the server. congrats! you're now connected to south london.
### the unix-y-ist: cmder + git bash
getting cmder is pretty easy, just head on down to [cmder.net]() and click 'Download Full'. the full download includes Git Bash, which emulates the bash command line inside windows. just unzip the folder and double click `Cmder.exe`.
now just run this command to connect
```bash
ssh <your username>@southlondon.cc -i <ssh private key path>
ssh <your username>@southlondon.cc
```
congrats! you're in.
if you haven't already used cmder to generate your keys, you'll need to append `-i <path to your private key>` to make sure ssh can see them.
say yes if it asks you to verify the fingerprint. if all goes well, you should be dumped into a prompt, you can now do whatever you need to do. pat yourself on the back, you've performed exquisitely.
# macOS and linux
crack open a terminal and run
@ -42,4 +45,11 @@ good job! you're in.
# using the webterm
if you're having trouble getting set up, you can use the webterm to login.
just click webterm on the homepage and type in your username and password.
just click webterm on the homepage and type in your username and password.
# all finished?
just type `exit` or press `CTRL+D` to sever your connection.
# you might want to take a look at these too.
- [fun ssh tricks to save a bit of time](/wiki/ssh.html)