💾 Archived View for bbs.geminispace.org › u › Yretek › 13726 captured on 2024-07-09 at 05:49:52. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-05-26)
-=-=-=-=-=-=-
Hi all. Once I moved to another distro I can't seem to ssh to my server. I'm considering tearing down the old server (I have a copy of everything) and set up a new one. Meaning yretek.com might change its certificates. Just so you know
Jan 10 · 6 months ago · 🤔 1
🚀 stack · 2024-01-10 at 22:38:
Yikes! Did you forget to copy your .ssh directory before blowing it away?
Doesn't your-server.de offer some way to open a vnc session to the TTY or something? if so, just reboot the host, and when booting edit the cmdline to add init=/bin/sh, and then add your ssh key and halt -f (IIRC), and then boot again.
🏕️ Yretek [OP] · Jan 11 at 18:07:
@stack No, I didn't, I moved the thing to an external drive, the whole .ssh folder, seemed good to go, but it didn't work out for some reason
🏕️ Yretek [OP] · Jan 11 at 18:08:
Er.. thank you, it's too late by now
😎 flipperzero · Jan 12 at 19:06:
@Yretek if you have your .ssh folder, why don't you just copy the cert back in place to your new install? Maybe you'll have to configure something in ssh_config in /etc/ssh/ or maybe something is interfering with your ability to connect in your known_hosts in that .ssh folder iirc
🚀 Markus_Ron · Jan 13 at 06:36:
Few things, you might want to just backup the old certificate so it does not confuse people. Maybe setup a PGP key so you can prove you are the owner / control the new stuff you are setting up. Can be useful.