Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sshd config concept #1333

Merged
merged 2 commits into from
Jan 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions install.conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
# neovim stuff
~/.config/nvim: nvim

~/.ssh/config: ssh/config
~/.ssh/config.d:
glob: true
path: ssh/config.d

# git stuff
~/.gitignore: gitignore
~/.gitattributes: gitattributes
Expand Down
1 change: 1 addition & 0 deletions ssh/config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Include ~/.ssh/config.d/*.config
10 changes: 10 additions & 0 deletions ssh/config.d/00-defaults.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Host *
AddKeysToAgent yes
ForwardAgent yes
ForwardX11 no
ForwardX11Trusted yes
TCPKeepAlive no
SendEnv LANG LANGUAGE LC_*
GSSAPIAuthentication no
ServerAliveInterval 60
ServerAliveCountMax 30
4 changes: 4 additions & 0 deletions vim/after/ftplugin/sshconfig.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
setlocal nospell
setlocal encoding=utf-8
setlocal tabstop=2
setlocal shiftwidth=2
5 changes: 1 addition & 4 deletions vim/filetype.vim
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
scriptencoding utf-8

" Copyright 2018-2020 @ kornicameister

" unix as the standard file type
set fileformats=unix,dos,mac

augroup git_ft_config
Expand Down Expand Up @@ -50,5 +47,5 @@ augroup END

augroup asciidoc_ft_settings
au!
au FileType asciidoc setlocal spell
au FileType asciidoc setlocal spell
augroup END
4 changes: 4 additions & 0 deletions vim/ftdetect/sshconfig.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
augroup sshconfig_ft
au BufNewFile,BufRead *ssh/config setfiletype sshconfig
au BufNewFile,BufRead *ssh/config.d/*.config setfiletype sshconfig
augroup END