diff --git a/~/SSH/.gitignore b/~/SSH/.gitignore new file mode 100644 index 0000000..da5ccc9 --- /dev/null +++ b/~/SSH/.gitignore @@ -0,0 +1,2 @@ +config +config.private diff --git a/~/SSH/README.md b/~/SSH/README.md new file mode 100644 index 0000000..181ff01 --- /dev/null +++ b/~/SSH/README.md @@ -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 +``` diff --git a/~/SSH/compile b/~/SSH/compile new file mode 100755 index 0000000..254322f --- /dev/null +++ b/~/SSH/compile @@ -0,0 +1,4 @@ +#!/bin/sh + +cat config.main > config +cat config.private >> config diff --git a/~/SSH/config b/~/SSH/config.main similarity index 65% rename from ~/SSH/config rename to ~/SSH/config.main index ee1d4e8..cbfc811 100644 --- a/~/SSH/config +++ b/~/SSH/config.main @@ -1,23 +1,21 @@ -# Raspbery Pi +Host * + IdentitiesOnly=yes + +# Raspbery Pi 3 B+ Host rpi User user HostName 192.168.1.50 ServerAliveInterval 59 +# iiiypuk.me Host kvm5 User alex HostName 92.63.105.65 IdentityFile /home/user/.ssh/kvm5 ServerAliveInterval 59 -Host kvm7 - HostName 109.172.82.56 - User user - +# Gitea instance Host git.a2s.su User gitea IdentityFile /home/user/.ssh/gitea -# gitea instance (git.a2s.su) -Host kvm8 - HostName 83.147.246.88 diff --git a/~/SSH/config.private.gpg b/~/SSH/config.private.gpg new file mode 100644 index 0000000..4f9b2d0 --- /dev/null +++ b/~/SSH/config.private.gpg @@ -0,0 +1,4 @@ +߳F )# >a҈$ ^ݠƓǷ0yHc:֥_6Cod{C G=,&T +;}E;9G/+ݠzBUPS +aC͚9`-/vvN{oDVSnb6:<J7>-.7dH~o}PQI>qv_Q?w}=u\c7iDg  P ѽRKgx ~ :Abt'$3U53 +5Lgw&ζ*M-2qf}'c;ePNVNgBZ&}YYf8D {һ2[>['!(h` +l#9*#ՔJc,M=3A'I5{%HB-EC 7)=)sOQOW < C <ЗPQBJ\ j|Om~B<t,2' E nem"WǸ Q& l*fʡ \ No newline at end of file