Skip to content

Commit

Permalink
chore: implement template assh (hadenlabs#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
luismayta committed Jun 12, 2021
1 parent 697bdda commit 5431d13
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions conf/assh.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
includes:
- ~/.ssh/custom.yml

defaults:
# Check for changed server IPs or possible DNS spoofings
CheckHostIP: yes
# Enable compression
Compression: yes
# Enables the sharing of multiple sessions over a single socket
ControlMaster: no
# ControlPath: ~/.ssh/sockets/%h-%p-%r
ControlPersist: yes
Port: 22
# Store hashed domains in known_hosts for extra security
HashKnownHosts: yes
# Disable password authentication (bruteforce attacks, etc.)
# PasswordAuthentication: no
# Only enable public key authentication
# PubkeyAuthentication: yes
# Regenerate keys after a while
RekeyLimit: 100M 3600
# Ask to verify server fingerprint
StrictHostKeyChecking: no
# Send keep-alive signals to avoid connection timeout
TCPKeepAlive: yes
# https://security.stackexchange.com/questions/110639/how-exploitable-is-the-recent-useroaming-ssh-problem
UseRoaming: no
# Display randomart images of hostkeys
VisualHostKey: yes

0 comments on commit 5431d13

Please sign in to comment.