2023-11-13 14:11:21 +00:00

25 lines
938 B
Plaintext

# SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
Host *
## Distrust the remote
ForwardX11 no
ForwardX11Trusted no
ForwardAgent no
## Authentication
UpdateHostKeys ask
PreferredAuthentications publickey,keyboard-interactive,password
HostbasedAuthentication no
StrictHostKeyChecking yes
## Encryption
HostKeyAlgorithms ssh-ed25519,sk-ssh-ed25519@openssh.com
PubkeyAcceptedAlgorithms ssh-ed25519,sk-ssh-ed25519@openssh.com
KexAlgorithms sntrup761x25519-sha512@openssh.com,curve25519-sha256,curve25519-sha256@libssh.org
Ciphers aes256-gcm@openssh.com
MACs hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com
UserKnownHostsFile ~/.ssh/known_hosts.d/%k.host ~/.ssh/known_hosts.d/%h.host
Include ~/.ssh/config.d/*.conf
# vim: ft=sshconfig