Skip to content

Instantly share code, notes, and snippets.

@ryansch
Created January 30, 2023 23:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryansch/bb0f6212fe49e08e597c8394d8c1bec0 to your computer and use it in GitHub Desktop.
Save ryansch/bb0f6212fe49e08e597c8394d8c1bec0 to your computer and use it in GitHub Desktop.
Enable old SHA-1 based rsa stuff for unifi
#!/bin/bash
set -euo pipefail
exec ssh -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment