Ancestors

Toot

Written by Alex Willmer on 2024-12-08 at 00:42

[#]TIL ssh-keygen -R <ip--or-hostname> to remove a host from ~/.ssh/known_hosts. I'm adding it as reminder comment on the top line of that file.

=> More informations about this toot | More toots from alex@moreati.org.uk

Descendants

Written by Matthew Booth on 2024-12-08 at 11:33

@alex I have an alias no_hosts_ssh for logging in to ephemeral hosts without adding an annoying hosts entry. I wish there was a cli option to make that simpler.

=> More informations about this toot | More toots from mattb@hachyderm.io

Written by Alex Willmer on 2024-12-08 at 19:17

@mattb I'm guessing your alias is something like ssh -o "GlobalKnownHostsFile /dev/null" -o "UserKnownHostsFile /dev/null" -o "StrictHostKeyChecking no"?

=> More informations about this toot | More toots from alex@moreati.org.uk

Written by Matthew Booth on 2024-12-08 at 21:53

@alex Guessing the only difference is the name of our aliases 😀

=> More informations about this toot | More toots from mattb@hachyderm.io

Written by Howard Chu @ Symas on 2024-12-08 at 11:56

@alex I just vi the file and delete the line matching the address or hostname.

=> More informations about this toot | More toots from hyc@mastodon.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113614425202930930
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
317.248031 milliseconds
Gemini-to-HTML Time
0.735685 milliseconds

This content has been proxied by September (3851b).