feat(bootstrap): добавить скрипт для установки пакетов и настройки окружения

feat(ssh): обновить конфигурацию SSH с новыми параметрами и удалить устаревшие записи
This commit is contained in:
Dmitry
2026-02-18 14:51:24 +03:00
parent a1a0c6ff63
commit 8414b662da
5 changed files with 94 additions and 49 deletions
+19 -3
View File
@@ -2,9 +2,25 @@
Host *
# Переиспользование соединений (быстрее)
# ControlMaster auto
# ControlPath ~/.ssh/sockets/%r@%h:%p
# ControlPersist 10m
ControlMaster auto
ControlPath ~/.ssh/sockets/%C
ControlPersist 10m
# Автоматически добавлять ключи в агент
AddKeysToAgent yes
# Использовать только явно заданные ключи
IdentitiesOnly yes
# Таймауты подключения
ConnectTimeout 10
ConnectionAttempts 2
# Обновлять ключи хоста при ротации
UpdateHostKeys yes
# Хэшировать known_hosts
HashKnownHosts yes
# Держать соединение живым
ServerAliveInterval 60
-3
View File
@@ -1,6 +1,3 @@
# 10 - Local network (direct IP)
# ПК
Host ada-pc
HostName 192.168.1.100
User ada
+1 -43
View File
@@ -1,48 +1,6 @@
# 40 - Corporate (PAO IL)
Host ada-alt
HostName 127.0.0.1
User ada-alt
Port 3322
IdentityFile ~/.ssh/id_ed25519
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
Host pam
HostName 10.1.194.230
User antipenkoda@MSK.LAN
Port 2244
ProxyJump ada-alt
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
Host master-ans
HostName 10.1.194.160
User ada
IdentityFile /home/ada/.ssh/id_ed25519_ada
ProxyJump pam
LocalForward 9000 localhost:22
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
Host master-ans-direct
HostName localhost
Port 9000
User ada
SetEnv TERM=xterm-256color
Host gitea
HostName 10.1.194.243
User gitea
IdentityFile ~/.ssh/id_ed25519_ada
ProxyJump pam
Host devel.mephi.ru
HostName devel.mephi.ru
IdentityFile ~/.ssh/id_ed25519_ada
IdentityFile ~/.ssh/id_ed25519
KexAlgorithms +curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
Host github.com