update ssh config

This commit is contained in:
Alexander Popov 2024-12-08 13:24:58 +03:00
parent 84e09cb245
commit dd350fdbe8
5 changed files with 32 additions and 8 deletions

2
~/SSH/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
config
config.private

16
~/SSH/README.md Normal file
View File

@ -0,0 +1,16 @@
# ...
```sh
./compile
mv ./config ~/.ssh/config
```
```sh
# Pack
gpg -e -r Alexander config.private
```
```sh
# Unpack
gpg -d config.private.gpg > config.private
```

4
~/SSH/compile Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
cat config.main > config
cat config.private >> config

View File

@ -1,23 +1,21 @@
# Raspbery Pi Host *
IdentitiesOnly=yes
# Raspbery Pi 3 B+
Host rpi Host rpi
User user User user
HostName 192.168.1.50 HostName 192.168.1.50
ServerAliveInterval 59 ServerAliveInterval 59
# iiiypuk.me
Host kvm5 Host kvm5
User alex User alex
HostName 92.63.105.65 HostName 92.63.105.65
IdentityFile /home/user/.ssh/kvm5 IdentityFile /home/user/.ssh/kvm5
ServerAliveInterval 59 ServerAliveInterval 59
Host kvm7 # Gitea instance
HostName 109.172.82.56
User user
Host git.a2s.su Host git.a2s.su
User gitea User gitea
IdentityFile /home/user/.ssh/gitea IdentityFile /home/user/.ssh/gitea
# gitea instance (git.a2s.su)
Host kvm8
HostName 83.147.246.88

4
~/SSH/config.private.gpg Normal file
View File

@ -0,0 +1,4 @@
Œ€òæß³Fû ýõ¶)#¿Á<C2BF>„µ >ÞaÒˆ$ ½Ý^£ˆµÝ Æ“áÃíÇ·«0yH€«c<C2AB>õ”Ô:Ö¥¯ß_§ç•6CƒŒodê{…êºòC G=,&ÆT õ«Ñ+;}ŽEÌ;•¨<E280A2>Ú9ýG°ƒÌ/¹+ÈéÝ B‡øUÎPS
îaCåÍš9™¡Ž`˜-Ñü°/ ¦¥vv¤®ÎN{±¼oDÛVSnÓìšÒÏãžÁb6œ‘:“ç<úJ7±>-.7dH‰~ªoð Êî}PôQ®I><3E>©«qŒÖv_ÇQ?w¿ù}µ¦ê=u<1E>\cê7ÒiDg  æˆP  ѽRþK<08>gx Æ~ :çAõ™‡btº'ë$3U53¸
Óêç„Ð5Lg”w‡<77>¥¿&¨€ÿšÎ¶*MŽ¾‡-2Þqf×¹}¶'cÊÄ;æePNV·NÌÂgßBZ&}¦äYÊYäf8—“¿Dç ¸{Ò»2[>[<5B>¹'!…Ã(h`
ƒl#£ª°9¼âö<C3A2>*#Õ”õJc,M=Ë3A'ˆþ<CB86>ÕIþ5ªÁ{%HB-éECÃö ³Œ¤ù¦7)=)sµ¹¬OÃQOW Œ„<·¤ˆùã <ЗºPQBÕJ£\˜ j|Oî¨ìm~©Bž<ŒtÖ,2³' n£³„e¼m"WÖNÍ€ •Q»ïò&à lÌ*Òfœôý„ŠÊ¡