Compare commits

..

No commits in common. "0fa6816a2cf7d021fed2cf33110fe2218d7613df" and "83b9e92ca2badd6870352758a50c0da7b74892b9" have entirely different histories.

4 changed files with 4 additions and 75 deletions

View File

@ -1,29 +1,5 @@
Configuration files and/or changes to default config files in /etc/
=
- Setup timesyncd for NTP syncing (using systemd, not ntp package)
- set to use global pool.ntp.org, you should change this!
- verify timesyncd is working with 'timedatectl' command
- Setup nano with helpful configurations both locally and via SSH
- rebind number lock
- constant show cursor position at bottom of screen
- constant show line numbers on the left
- added shortcuts for cut, copy, paste using alt-x,c,v respectively
- enable multi-buffer for concurrent open files
- cut to end-of-line
- bracket and quote matching
- tabs converted to spaces, tab = 4 spaces
- activate default colourization
- Colourize prompt
- red username for root user or shell accessed as root (su, sudo -s, etc.)
- green username for regular users
- display time and full path
- Setup SSH server
- use non-standard port 222
- use host-keys (RSA and ED25519 - you need to generate these!)
- display a banner on sucessful connection
- do not allow root login
- require keyfile authentication (disable password authentication)
Setup timesyncd for NTP syncing (client only)
Setup nano with helpful configurations both locally and via SSH
Colourize prompt based on user-type and add additional information

View File

@ -1,10 +0,0 @@
*******
*** Welcome to SERVERNAME on DOMAIN.tld
*** Note: This server also answers to ALT_SERVERNAME on DOMAIN2.tld
*******
Please note that this system is monitored and all access attempts are logged.
Unauthorized access is prohibited.
Your IP address and any provided keys/tokens have already been recorded.

View File

@ -1,35 +0,0 @@
#######
### OpenSSH Configuration
#######
### Connection settings
Port 222
ListenAddress your.private.ipv4.address
ListenAddress [your:private:ipv6:address:use:square:brackets]
TCPKeepAlive no
ClientAliveInterval 60
ClientAliveCountMax 30
### Authentication settings
HostKey /etc/ssh/ed25519.key
HostKey /etc/ssh/RSA4096.key
PasswordAuthentication no
PermitEmptyPasswords no
ChallengeResponseAuthentication no
UsePAM yes
AuthorizedKeysFile .ssh/authorized_keys
### Login settings
LoginGraceTime 1M
MaxAuthTries 3
MaxSessions 5
#PermitRootLogin prohibit-password
PermitRootLogin no
### Program settings
Banner /etc/ssh/banner
LogLevel VERBOSE
X11Forwarding yes
PrintMotd no
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server

View File

@ -1,3 +1 @@
Changes/additions in the /root folder.
=
- default .bashrc (for reference or to return to default state)
Changes/additions to be made in /root to affect ROOT user.