migrate: stow → chezmoi
- restructure repo to chezmoi conventions (dot_ prefix, private_dot_ssh/) - add nvim config (was untracked) - encrypt restic pass.txt with age - remove stow artifacts (.stow-local-ignore, stow package dirs) - update bootstrap.sh to use chezmoi apply - remove runtime files from tracking (micro buffers, zed backup)
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# 00 - Global options
|
||||
|
||||
Host *
|
||||
# Переиспользование соединений (быстрее)
|
||||
# ControlMaster auto
|
||||
# ControlPath ~/.ssh/sockets/%C
|
||||
# ControlPersist 10m
|
||||
|
||||
# Автоматически добавлять ключи в агент
|
||||
AddKeysToAgent yes
|
||||
|
||||
# Использовать только явно заданные ключи
|
||||
IdentitiesOnly yes
|
||||
|
||||
# IdentityAgent ~/.bitwarden-ssh-agent.sock
|
||||
|
||||
# Таймауты подключения
|
||||
ConnectTimeout 10
|
||||
ConnectionAttempts 2
|
||||
|
||||
# Обновлять ключи хоста при ротации
|
||||
UpdateHostKeys yes
|
||||
|
||||
# Хэшировать known_hosts
|
||||
HashKnownHosts yes
|
||||
|
||||
# Держать соединение живым
|
||||
ServerAliveInterval 60
|
||||
ServerAliveCountMax 3
|
||||
|
||||
# Сжатие данных
|
||||
Compression yes
|
||||
|
||||
# Отключить GSSAPI (ускоряет подключение)
|
||||
GSSAPIAuthentication no
|
||||
@@ -0,0 +1,4 @@
|
||||
Host ada-x1
|
||||
HostName 192.168.1.101
|
||||
User ada
|
||||
IdentityFile ~/.ssh/keys/id_ed25519
|
||||
@@ -0,0 +1,38 @@
|
||||
# 20 - SelfHost
|
||||
Host vps vps-ada
|
||||
HostName 157.22.231.198
|
||||
Port 3422
|
||||
User ada
|
||||
IdentityFile /home/ada/.ssh/id_ed25519_hl
|
||||
ServerAliveInterval 30
|
||||
ServerAliveCountMax 3
|
||||
|
||||
Host docker-host
|
||||
HostName 100.70.131.10
|
||||
User ada
|
||||
IdentityFile ~/.ssh/keys/id_ed25519_hl
|
||||
SetEnv TERM=xterm-256color
|
||||
ProxyJump vps
|
||||
|
||||
Host pve
|
||||
HostName 100.68.130.76
|
||||
User root
|
||||
IdentityFile ~/.ssh/id_ed25519_hl
|
||||
SetEnv TERM=xterm-256color
|
||||
# ProxyJump vps
|
||||
|
||||
Host openclaw
|
||||
Hostname 192.168.1.20
|
||||
User openclaw
|
||||
IdentityFile ~/.ssh/id_ed25519
|
||||
SetEnv TERM=xterm-256color
|
||||
ProxyJump pve
|
||||
|
||||
Host git.ada-dev.ru
|
||||
HostName 100.70.131.10
|
||||
Port 2222
|
||||
User git
|
||||
IdentityFile /home/ada/.ssh/id_ed25519_hl
|
||||
ServerAliveInterval 30
|
||||
ServerAliveCountMax 3
|
||||
ProxyJump vps
|
||||
@@ -0,0 +1,3 @@
|
||||
Host github.com
|
||||
HostName github.com
|
||||
User git
|
||||
@@ -0,0 +1,8 @@
|
||||
Host ru-vps
|
||||
HostName 157.22.231.198
|
||||
Port 3422
|
||||
User ada
|
||||
Port 3422
|
||||
ServerAliveInterval 30
|
||||
ServerAliveCountMax 3
|
||||
IdentityFile /home/ada/.ssh/id_ed25519_hl
|
||||
Reference in New Issue
Block a user