A Fishy Wiki

Stuff and things

User Tools

Site Tools


linux:cli

Neat CLI stuff

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-04-24 01:45 by Tom