Skip to content

Instantly share code, notes, and snippets.

@stigtsp
Created September 17, 2022 20:57
Show Gist options
  • Save stigtsp/48b74963a958cf192d9929379b704d15 to your computer and use it in GitHub Desktop.
Save stigtsp/48b74963a958cf192d9929379b704d15 to your computer and use it in GitHub Desktop.
#!/bin/sh
(>&2 echo "######### UNSAFE SSH #########")
set -ex
env TERM=xterm ssh -oCiphers=+aes128-cbc -oKexAlgorithms=+diffie-hellman-group-exchange-sha1 -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment