Generalized examples

This commit is contained in:
Michele Cereda
2023-03-04 12:56:49 +01:00
parent bf7455519f
commit 30b1465397
8 changed files with 20 additions and 20 deletions

View File

@@ -13,6 +13,6 @@ envsubst < input.file > output.file
$ cat hello.file
hello $NAME
$ NAME='mek' envsubst < hello.file
hello mek
$ NAME='Johnny' envsubst < hello.file
hello Johnny
```

View File

@@ -25,7 +25,7 @@ PID | PPID | UID | User | Command | Service
731 | 1 | 488 | avahi | avahi-daemon | avahi-daemon
736 | 1 | 490 | messagebus | dbus-daemon | dbus
6260 | 1756 | 1000 | mek | kdeinit5 |
6260 | 1756 | 1000 | user | kdeinit5 |
You may wish to restart these processes.
See 'man zypper' for information about the meaning of values in the above table.

View File

@@ -1,16 +1,16 @@
# SSH
1. [TL;DR](#tldr)
2. [Key Management](#key-management)
3. [Configuration](#configuration)
1. [Key Management](#key-management)
1. [Configuration](#configuration)
1. [Append domains to a hostname before attempting to check if they exist](#append-domains-to-a-hostname-before-attempting-to-check-if-they-exist)
2. [Optimize connection handling](#optimize-connection-handling)
4. [SSHFS](#sshfs)
1. [Optimize connection handling](#optimize-connection-handling)
1. [SSHFS](#sshfs)
1. [Installation](#installation)
5. [Troubleshooting](#troubleshooting)
1. [Troubleshooting](#troubleshooting)
1. [No matching host key type found](#no-matching-host-key-type-found)
6. [Further readings](#further-readings)
7. [Sources](#sources)
1. [Further readings](#further-readings)
1. [Sources](#sources)
## TL;DR
@@ -90,8 +90,8 @@ ssh-keygen -R 'raspberrypi.lan' -f '.ssh/known_hosts'
```plaintext
Host pi4.lan found: line 5
/home/mek/.ssh/known_hosts updated.
Original contents retained as /home/mek/.ssh/known_hosts.old
/home/user/.ssh/known_hosts updated.
Original contents retained as /home/user/.ssh/known_hosts.old
```
Change password of a key file