SSH


Config


Permit to use aliases or custom ssh keys for some hosts


Host alias1
  Hostname 192.168.0.23
  user username
  port 22
  IdentityFile ~/.ssh/id_ed25519.pub
Host alias2
  Hostname 192.168.0.24
  user username
  port 22
  IdentityFile ~/.ssh/id_rsa.pub

Raw image related


From a debian raw image, ssh don't start. The host key is missing. Fix with:


ssh-keygen -A
systemctl restart sshd
systemctl status sshd

Last-Updated: 2022-08-15
Content from gemini://kelgors.me/wiki/ssh.gmi

More info about Gemini protocol