diff options
-rw-r--r-- | etc/nftables.conf | 2 | ||||
-rw-r--r-- | etc/ssh/sshd_config | 6 | ||||
-rw-r--r-- | home/xyz/.config/Mullvad VPN/gui_settings.json | 2 | ||||
-rw-r--r-- | home/xyz/.profile | 6 |
4 files changed, 8 insertions, 8 deletions
diff --git a/etc/nftables.conf b/etc/nftables.conf index c0d0601d..76044dba 100644 --- a/etc/nftables.conf +++ b/etc/nftables.conf @@ -21,7 +21,7 @@ table inet my_table { ip protocol icmp accept meta l4proto ipv6-icmp accept - #tcp dport ssh accept + tcp dport ssh accept #tcp dport searx accept tcp dport qrcp accept udp dport mdns accept diff --git a/etc/ssh/sshd_config b/etc/ssh/sshd_config index 7f697951..0b641296 100644 --- a/etc/ssh/sshd_config +++ b/etc/ssh/sshd_config @@ -29,7 +29,7 @@ # Authentication: #LoginGraceTime 2m -#PermitRootLogin prohibit-password +PermitRootLogin no #StrictModes yes #MaxAuthTries 6 #MaxSessions 10 @@ -54,7 +54,7 @@ AuthorizedKeysFile .ssh/authorized_keys #IgnoreRhosts yes # To disable tunneled clear text passwords, change to no here! -#PasswordAuthentication yes +PasswordAuthentication no #PermitEmptyPasswords no # Change to no to disable s/key passwords @@ -79,7 +79,7 @@ KbdInteractiveAuthentication no # If you just want the PAM account and session checks to run without # PAM authentication, then enable this but set PasswordAuthentication # and KbdInteractiveAuthentication to 'no'. -UsePAM yes +UsePAM no #AllowAgentForwarding yes #AllowTcpForwarding yes diff --git a/home/xyz/.config/Mullvad VPN/gui_settings.json b/home/xyz/.config/Mullvad VPN/gui_settings.json index 8867e15e..3300fc6a 100644 --- a/home/xyz/.config/Mullvad VPN/gui_settings.json +++ b/home/xyz/.config/Mullvad VPN/gui_settings.json @@ -1 +1 @@ -{"preferredLocale":"system","autoConnect":true,"enableSystemNotifications":true,"monochromaticIcon":false,"startMinimized":false,"unpinnedWindow":true,"browsedForSplitTunnelingApplications":[]}
\ No newline at end of file +{"preferredLocale":"system","autoConnect":true,"enableSystemNotifications":true,"monochromaticIcon":false,"startMinimized":false,"unpinnedWindow":true,"browsedForSplitTunnelingApplications":[],"changelogDisplayedForVersion":"2022.1"}
\ No newline at end of file diff --git a/home/xyz/.profile b/home/xyz/.profile index fff55260..8040dc0f 100644 --- a/home/xyz/.profile +++ b/home/xyz/.profile @@ -93,6 +93,6 @@ playerctld daemon # startx when login, should be put after environmental variables for .xinitrc to use # use `[ "$XDG_VTNR" ]` to avoid "-bash: [: : integer expression expected" warning/error message, when `sudo su - xyz` or ssh into a remote server, not sure if best practice or not -if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then - exec startx -fi +#if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then +# exec startx +#fi |