It's a me! I'm at today! I'll discuss later today. Come talk to me about containers, , or anything else

Awesome #ssh trick I just learned!

Host *
IdentityFile ~/.ssh/temp_event
UserKnownHostsFile ~/.ssh/temp_known_hosts

You can give a specific known hosts file for a Host block of systems that you connect to.

This is especially helpful if you are regularly involved in a re-occuring event where you re-use hostnames but not the keys; or for temp installs, etc, etc.

#openssh #openbsd

(and while I'm at it, one more)

Match host *, !exec "route -q -n get -inet6 %h"

This will do a route lookup, to see if you have direct ipv6 access to the hosts. If it fails ("!exec"), then it will automatically add the ProxyJump command.

the above route command is intended for #openbsd, you may need to adjust it for your OS

#openssh #ssh

Show thread

Be careful, we already corded off 1 slope between H and parking because the snow makes everything very slippery :(

Lieter's Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!