Add ssh_config
Private parts are in a separate, non-included file.
This commit is contained in:
parent
12a46dc630
commit
37fc52078c
2 changed files with 19 additions and 0 deletions
4
setup.sh
4
setup.sh
|
@ -52,6 +52,10 @@ have tmux && link_file tmux .config/tmux ../
|
||||||
have vim && link_file vim .config/vim ../
|
have vim && link_file vim .config/vim ../
|
||||||
have youtube-dl && link_file youtube-dl .config/youtube-dl ../
|
have youtube-dl && link_file youtube-dl .config/youtube-dl ../
|
||||||
have zsh && link_file zshrc .zshrc
|
have zsh && link_file zshrc .zshrc
|
||||||
|
if have ssh; then
|
||||||
|
mkdir -p $HOME/.ssh
|
||||||
|
link_file ssh_config .ssh/config ../
|
||||||
|
fi
|
||||||
|
|
||||||
if test x"$(uname -s)" = x"Darwin"; then
|
if test x"$(uname -s)" = x"Darwin"; then
|
||||||
dest="$HOME/Library/Keyboard Layouts/eu_US.keylayout"
|
dest="$HOME/Library/Keyboard Layouts/eu_US.keylayout"
|
||||||
|
|
15
ssh_config
Normal file
15
ssh_config
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
Include config.private
|
||||||
|
|
||||||
|
Host bitbucket.org
|
||||||
|
HostKeyAlgorithms ssh-rsa
|
||||||
|
|
||||||
|
Host github.com
|
||||||
|
HostKeyAlgorithms rsa-sha2-512
|
||||||
|
|
||||||
|
Host wip.pkgsrc.org
|
||||||
|
Ciphers aes256-gcm@openssh.com
|
||||||
|
|
||||||
|
Host *
|
||||||
|
Ciphers chacha20-poly1305@openssh.com
|
||||||
|
KexAlgorithms curve25519-sha256@libssh.org
|
||||||
|
HostKeyAlgorithms ssh-ed25519
|
Loading…
Add table
Add a link
Reference in a new issue