Skip to content

Instantly share code, notes, and snippets.

@joxz
Last active March 30, 2017 07:39
Show Gist options
  • Save joxz/3d94d4afb63fd63f100a8c5ac64b1717 to your computer and use it in GitHub Desktop.
Save joxz/3d94d4afb63fd63f100a8c5ac64b1717 to your computer and use it in GitHub Desktop.
Linux Stuff

Linux Stuff

Add proxy certificate to trusted certificates

# sudo -i
# get cert in base64 encoded format
wget http://.../proxycert.crt

cp proxycert.crt /usr/share/ca-certificates/
dpkg-reconfigure ca-certificates

# mark certificates to add

update-ca-certificates

OpenSSH legacy options

ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss user@host

# .zshrc
alias sshl="ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment