summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/ssh/sshd_config6
-rw-r--r--home/xyz/.config/nvim/init.vim4
2 files changed, 6 insertions, 4 deletions
diff --git a/etc/ssh/sshd_config b/etc/ssh/sshd_config
index 78118fad..6a9a4670 100644
--- a/etc/ssh/sshd_config
+++ b/etc/ssh/sshd_config
@@ -66,11 +66,13 @@ AuthorizedKeysFile .ssh/authorized_keys
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes
-# To disable tunneled clear text passwords, change to no here!
+# To disable tunneled clear text passwords, change to "no" here!
#PasswordAuthentication yes
#PermitEmptyPasswords no
-# Change to no to disable s/key passwords
+# Change to "no" to disable keyboard-interactive authentication. Depending on
+# the system's configuration, this may involve passwords, challenge-response,
+# one-time passwords or some combination of these and other methods.
#KbdInteractiveAuthentication yes
# Kerberos options
diff --git a/home/xyz/.config/nvim/init.vim b/home/xyz/.config/nvim/init.vim
index 0602a31f..ebad7d99 100644
--- a/home/xyz/.config/nvim/init.vim
+++ b/home/xyz/.config/nvim/init.vim
@@ -111,8 +111,8 @@ augroup mycmd
" https://vi.stackexchange.com/questions/21784/vim-edit-anyway-without-prompting
" https://github.com/neovim/neovim/pull/25336
" https://github.com/neovim/neovim/commit/29fe883aa9166bdbcae3f935523c75a8aa56fe45
- " remove nvim_swapfile autocmd is more correct, without also works but I think it change to 'e' then to 'o' which is not ideal, also it will echo "W325: ..." which is not what I want
- autocmd! nvim_swapfile
+ " remove nvim.swapfile autocmd is more correct, without also works but I think it change to 'e' then to 'o' which is not ideal, also it will echo "W325: ..." which is not what I want
+ autocmd! nvim.swapfile
autocmd SwapExists * let v:swapchoice = 'o'
augroup END