omg login
parent
69fd1e06cd
commit
1171290b6f
|
@ -234,13 +234,80 @@ to save it.
|
|||
|
||||
## Set up SSH on Workstation
|
||||
Back on your workstation, set up your SSH configuration with the key
|
||||
you created and the new
|
||||
you created and the new `Public IP`. Edit the file `~/.ssh/config`.
|
||||
|
||||
# Installation
|
||||
```
|
||||
vim ~/.ssh/config
|
||||
```
|
||||
|
||||
# Configuration
|
||||
|
||||
# Usage
|
||||
Add using your name and `Public IP` instead of this example.
|
||||
Also, use the path to the *private* workstation SSH key created earlier.
|
||||
Add to `~/.ssh/config`:
|
||||
|
||||
```
|
||||
Host mychestserver
|
||||
Hostname 147.135.193.212
|
||||
User debian
|
||||
Port 22
|
||||
Identityfile ~/.ssh/id_ecdsa-chess
|
||||
```
|
||||
|
||||
|
||||
# Login
|
||||
Now from your workstation, log into the server and check that all
|
||||
is ok:
|
||||
|
||||
```
|
||||
|
||||
|
||||
```
|
||||
|
||||
It should look something like this:
|
||||
|
||||
```
|
||||
debian@workstation:~$ ssh mychestserver
|
||||
Host key fingerprint is SHA256:WgtWRY7N3POEhSqhhS6aq7Wac1sR7AQ+abQTpgXiQvU
|
||||
+---[ECDSA 256]---+
|
||||
|SSB. . .S .. |
|
||||
|+* *. . SB ..S |
|
||||
|o.B +E oo.=.+ . |
|
||||
|.. =..o.. . + |
|
||||
| bb.b S. . |
|
||||
| o o + . |
|
||||
| ... . . |
|
||||
|.ooo |
|
||||
|+=o. |
|
||||
+----[SHA256]-----+
|
||||
Linux mychestserver 5.10.0-8-cloud-amd64 #1 SMP Debian 5.10.46-5 (2021-09-23) x86_64
|
||||
|
||||
The programs included with the Debian GNU/Linux system are free software;
|
||||
the exact distribution terms for each program are described in the
|
||||
individual files in /usr/share/doc/*/copyright.
|
||||
|
||||
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
|
||||
permitted by applicable law.
|
||||
debian@mychestserver:~$
|
||||
```
|
||||
|
||||
You can check all is happy with commands like:
|
||||
|
||||
```
|
||||
free -h
|
||||
df -h
|
||||
cat /proc/cpuinfo
|
||||
dpkg -l
|
||||
uname -a
|
||||
dmesg -T
|
||||
```
|
||||
|
||||
# Update
|
||||
|
||||
# Install
|
||||
|
||||
# Configure
|
||||
|
||||
# Use
|
||||
|
||||
# Lila
|
||||
|
||||
|
|
Loading…
Reference in New Issue