From ac0f4ffb3cee1fcd0c657e97971320f96c67a338 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Sun, 12 Feb 2023 15:04:42 +0100 Subject: [PATCH] Added internal examples to the article --- .vscode/settings.json | 5 +++++ knowledge base/ssh.md | 12 +++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 00b47c5..ccebb80 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,7 +5,9 @@ "awscli", "bitwarden", "boinc", + "boinccmd", "bootable", + "bootcmd", "btrfs", "cereda", "chezmoi", @@ -15,7 +17,9 @@ "dkms", "dpkg", "duperemove", + "epel", "fdupes", + "firewalld", "flatpak", "getfacl", "gpgtools", @@ -54,6 +58,7 @@ "tfvars", "tmpfs", "tput", + "usermod", "zstd" ] } diff --git a/knowledge base/ssh.md b/knowledge base/ssh.md index 9d7b15c..5b279a5 100644 --- a/knowledge base/ssh.md +++ b/knowledge base/ssh.md @@ -166,7 +166,7 @@ CanonicalDomains xxx.auckland.ac.nz yyy.auckland.ac.nz Host *.xxx.auckland.ac.nz User user_xxx -Host *.yyy.auckland.ac.nz +Host *.yyy.auckland.ac.nz User user_yyy ``` @@ -182,6 +182,8 @@ ControlPersist 30s ## Further readings +- [`ssh_config`][ssh_config] file example +- [`sshd_config`][sshd_config] file example - [ssh-agent] ## Sources @@ -194,10 +196,14 @@ ControlPersist 30s - [How to perform hostname canonicalization] - [How to reuse SSH connection to speed up remote login process using multiplexing] - + [ssh-agent]: https://www.ssh.com/academy/ssh/agent - + +[ssh_config]: ../examples/ssh/ssh_config +[sshd_config]: ../examples/ssh/sshd_config + + [how to enable ssh access using a gpg key for authentication]: https://opensource.com/article/19/4/gpg-subkeys-ssh [how to list keys added to ssh-agent with ssh-add?]: https://unix.stackexchange.com/questions/58969/how-to-list-keys-added-to-ssh-agent-with-ssh-add [how to perform hostname canonicalization]: https://sleeplessbeastie.eu/2020/08/24/how-to-perform-hostname-canonicalization/