feat(ssh): update SSH configuration and add new identity files
This commit is contained in:
@@ -12,6 +12,8 @@ Host *
|
|||||||
# Использовать только явно заданные ключи
|
# Использовать только явно заданные ключи
|
||||||
IdentitiesOnly yes
|
IdentitiesOnly yes
|
||||||
|
|
||||||
|
IdentityAgent ~/.bitwarden-ssh-agent.sock
|
||||||
|
|
||||||
# Таймауты подключения
|
# Таймауты подключения
|
||||||
ConnectTimeout 10
|
ConnectTimeout 10
|
||||||
ConnectionAttempts 2
|
ConnectionAttempts 2
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
Host ada-pc
|
Host ada-pc
|
||||||
HostName 192.168.1.100
|
HostName 192.168.1.100
|
||||||
User ada
|
User ada
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
IdentityFile ~/.ssh/keys/ada-pc.pub
|
||||||
|
|
||||||
Host ada-x1
|
Host ada-x1
|
||||||
HostName 192.168.1.101
|
HostName 192.168.1.101
|
||||||
User ada
|
User ada
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
IdentityFile ~/.ssh/keys/adax1.pub
|
||||||
|
|
||||||
|
|||||||
@@ -3,20 +3,20 @@ Host vps vps-ada
|
|||||||
HostName 157.22.231.198
|
HostName 157.22.231.198
|
||||||
Port 22
|
Port 22
|
||||||
User ada
|
User ada
|
||||||
IdentityFile ~/.ssh/id_ed25519_homelab
|
IdentityFile ~/.ssh/keys/homelab_ssh.pub
|
||||||
|
|
||||||
# ZimaOS
|
# ZimaOS
|
||||||
Host casa casaos casa-vm
|
Host casa casaos casa-vm
|
||||||
HostName 100.87.138.76
|
HostName 100.87.138.76
|
||||||
User ada
|
User ada
|
||||||
IdentityFile ~/.ssh/id_ed25519_homelab
|
IdentityFile ~/.ssh/keys/homelab_ssh.pub
|
||||||
SetEnv TERM=xterm-256color
|
SetEnv TERM=xterm-256color
|
||||||
ProxyJump vps
|
ProxyJump vps
|
||||||
|
|
||||||
Host pve
|
Host pve
|
||||||
HostName 100.68.130.76
|
HostName 100.68.130.76
|
||||||
User root
|
User root
|
||||||
IdentityFile ~/.ssh/id_ed25519_homelab
|
IdentityFile ~/.ssh/keys/homelab_ssh.pub
|
||||||
SetEnv TERM=xterm-256color
|
SetEnv TERM=xterm-256color
|
||||||
ProxyJump vps
|
ProxyJump vps
|
||||||
|
|
||||||
@@ -24,5 +24,5 @@ Host git.ada-dev.ru
|
|||||||
HostName 100.87.138.76
|
HostName 100.87.138.76
|
||||||
Port 222
|
Port 222
|
||||||
User git
|
User git
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
IdentityFile ~/.ssh/keys/key_vps.pub
|
||||||
ProxyJump vps
|
ProxyJump vps
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
Host devel.mephi.ru
|
Host devel.mephi.ru
|
||||||
HostName devel.mephi.ru
|
HostName devel.mephi.ru
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
IdentityFile ~/.ssh/keys/ada-pc.pub
|
||||||
KexAlgorithms +curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
|
KexAlgorithms +curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
|
||||||
|
|
||||||
Host github.com
|
Host github.com
|
||||||
HostName github.com
|
HostName github.com
|
||||||
User git
|
User git
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
IdentityFile ~/.ssh/keys/ada-pc.pub
|
||||||
|
|||||||
@@ -1,15 +1,6 @@
|
|||||||
Host ru-vps
|
Host ru-vps
|
||||||
HostName 157.22.231.198
|
HostName 157.22.231.198
|
||||||
User ada
|
User ada
|
||||||
IdentityFile ~/.ssh/id_ed25519_homelab
|
|
||||||
ServerAliveInterval 30
|
|
||||||
ServerAliveCountMax 3
|
|
||||||
|
|
||||||
Host nl-vps
|
|
||||||
HostName 170.168.25.171
|
|
||||||
User ada
|
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
|
||||||
ProxyJump ru-vps
|
|
||||||
ServerAliveInterval 30
|
ServerAliveInterval 30
|
||||||
ServerAliveCountMax 3
|
ServerAliveCountMax 3
|
||||||
|
|
||||||
@@ -17,7 +8,7 @@ Host fl-vps
|
|||||||
HostName 89.167.32.245
|
HostName 89.167.32.245
|
||||||
Port 4322
|
Port 4322
|
||||||
User ada
|
User ada
|
||||||
IdentityFile ~/.ssh/id_ed25519_flvpn
|
IdentityFile ~/.ssh/keys/fl-vpn.pub
|
||||||
ProxyJump ru-vps
|
ProxyJump ru-vps
|
||||||
ServerAliveInterval 30
|
ServerAliveInterval 30
|
||||||
ServerAliveCountMax 3
|
ServerAliveCountMax 3
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH50axSCXZiDkpnbggASg1P+EfAKhdExahLOXKe0VxqS ada-pc
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIWNsUQmppB6cQccXX1ZaBbFIcmM6RmghsTVbG9TgoZB adax1
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMwZ10/S25oSZsJNdWWMwfelPDM4VcZMGHQ9PDxW1A1G autossh-proxy
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIApx18Rmr32XqE+XnHl+sJkZGFWvyQ+uMGfOic2TdYju fl-vpn
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICmj/O+dwIiuFW0VVYnbX/PUComP1h5VrCBoMTIP3j0Z homelab_ssh
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJoW3axMmMF1+sffBSKK/K388I1TdLqXcJbXlJd6/BI1 key_vps
|
||||||
@@ -91,3 +91,6 @@ fi
|
|||||||
if command -v direnv >/dev/null 2>&1; then
|
if command -v direnv >/dev/null 2>&1; then
|
||||||
eval "$(direnv hook zsh)"
|
eval "$(direnv hook zsh)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
export SSH_AUTH_SOCK='/home/ada/.bitwarden-ssh-agent.sock'
|
||||||
|
|||||||
Reference in New Issue
Block a user