Compare commits

...

4 Commits

Author SHA1 Message Date
asif d867177614 Remove suspend option, enabled by default 2024-01-07 00:03:20 -07:00
Asif Bacchus 35d68ffa9a update configuration, remove deprecated options 2020-09-18 03:45:36 -06:00
Asif Bacchus 317900d3ca added AllowUsers to tighten security 2019-03-29 13:58:57 -06:00
Asif Bacchus 0af2e0c77c Updated blog post link in readme 2019-03-06 22:19:32 -07:00
3 changed files with 11 additions and 8 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ conceivable installation are included here.
This archive and included script are meant to supplement my article on setting This archive and included script are meant to supplement my article on setting
up a Debian base-system found at my blog: [My up a Debian base-system found at my blog: [My
Techie-Thoughts](https://mytechiethoughts.com/<post_address>) Techie-Thoughts](https://mytechiethoughts.com/setting-up-a-debian-base-system/)
## Included files ## Included files
@@ -87,4 +87,4 @@ and will NOT update your actual system!
Hopefully this saves you some time and helps you standardize your new system setups Hopefully this saves you some time and helps you standardize your new system setups
with a few useful defaults. As always, if you have suggestions or want to leave with a few useful defaults. As always, if you have suggestions or want to leave
feedback for me, please do so on my [blog feedback for me, please do so on my [blog
post](https://mytechiethoughts.com/<post_address>) related to this script! post](https://mytechiethoughts.com/setting-up-a-debian-base-system/) related to this script!
+6 -6
View File
@@ -50,7 +50,7 @@ set constantshow
## (The old form, 'const', is deprecated.) ## (The old form, 'const', is deprecated.)
## Use cut-to-end-of-line by default. ## Use cut-to-end-of-line by default.
set cut set cutfromcursor
## Set the line length for wrapping text and justifying paragraphs. ## Set the line length for wrapping text and justifying paragraphs.
## If the value is 0 or less, the wrapping point will be the screen ## If the value is 0 or less, the wrapping point will be the screen
@@ -136,7 +136,7 @@ set nowrap
# set rebinddelete # set rebinddelete
## Fix numeric keypad key confusion problem. ## Fix numeric keypad key confusion problem.
set rebindkeypad set rawsequences
## Do extended regular expression searches by default. ## Do extended regular expression searches by default.
# set regexp # set regexp
@@ -162,8 +162,8 @@ set softwrap
## does not properly have a default value. ## does not properly have a default value.
# set speller "aspell -x -c" # set speller "aspell -x -c"
## Allow nano to be suspended. ## Allow nano to be suspended. This is now enabled by default and this option is deprecated
set suspend #set suspend
## Use this tab size instead of the default; it must be greater than 0. ## Use this tab size instead of the default; it must be greater than 0.
set tabsize 4 set tabsize 4
@@ -261,9 +261,9 @@ include "/usr/share/nano/*.nanorc"
# alt-x to cut highlighted text # alt-x to cut highlighted text
# alt-v to paste text # alt-v to paste text
bind ^S savefile main bind ^S savefile main
bind M-C copytext main bind M-C copy main
bind M-X cut main bind M-X cut main
bind M-V uncut main bind M-V paste main
# bind M-Q findprevious main # bind M-Q findprevious main
# bind M-W findnext main # bind M-W findnext main
# bind M-B cutwordleft main # bind M-B cutwordleft main
+3
View File
@@ -27,6 +27,9 @@ MaxAuthTries 3
MaxSessions 5 MaxSessions 5
#PermitRootLogin no #PermitRootLogin no
PermitRootLogin yes PermitRootLogin yes
# note: 'AllowUsers' overrides 'PermitRootLogin' so list root here
# if you want root to have access!
AllowUsers root username username2
### Program settings ### Program settings
#Banner /etc/ssh/banner #Banner /etc/ssh/banner