A Fishy Wiki

Stuff and things

User Tools

Site Tools


linux:cli

SSH Tweaks

/etc/ssh/sshd_config

# Only allows one attempt to enter a password before closing connection
MaxAuthTries 1

# Change banner (text before login)
Banner /etc/sshmessage

Change MOTD (after login message)

rm /etc/motd # It's a symlink by default, so remove it before editing
nano /etc/motd
/var/www/dokuwiki/data/pages/linux/cli.txt ยท Last modified: 2019-08-18 00:13 by Tom