Follow

If you want to ssh to a server, and ignore any SSH host key checking (e.g. when using Hetzner’s Rescue System/boot) use this command:

sshpass -p $PASSWORD ssh -oStrictHostKeyChecking=accept-new -oUserKnownHostsFile=/dev/null $USER@$HOSTNAME

Sign in to participate in the conversation
⛧ MOYTURA ⛧

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