summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/ssh/arch.config2
-rw-r--r--.config/ssh/farzat_xyz.config13
-rw-r--r--.local/share/ssh_pub_keys/arch1.pub3
-rw-r--r--.local/share/ssh_pub_keys/main1.pub3
-rw-r--r--.local/share/ssh_pub_keys/ubuntu1.pub3
5 files changed, 17 insertions, 7 deletions
diff --git a/.config/ssh/arch.config b/.config/ssh/arch.config
index c81908f..deacc82 100644
--- a/.config/ssh/arch.config
+++ b/.config/ssh/arch.config
@@ -4,4 +4,4 @@ Host aur.archlinux.org
HostName aur.archlinux.org
User aur
IdentitiesOnly yes
- IdentityFile ~/.local/share/ssh_pub_keys/aur.pub
+ IdentityFile ${XDG_DATA_HOME}/ssh_pub_keys/aur.pub
diff --git a/.config/ssh/farzat_xyz.config b/.config/ssh/farzat_xyz.config
index 4234c73..db1f5e3 100644
--- a/.config/ssh/farzat_xyz.config
+++ b/.config/ssh/farzat_xyz.config
@@ -1,8 +1,15 @@
# vim: set filetype=sshconfig :
-Host main1
- HostName farzat.xyz
+Host ubuntu1
+ HostName ubuntu1.farzat.xyz
User farzat
ForwardAgent yes
IdentitiesOnly yes
- IdentityFile ~/.local/share/ssh_pub_keys/main1.pub
+ IdentityFile ${XDG_DATA_HOME}/ssh_pub_keys/ubuntu1.pub
+
+Host arch1
+ HostName arch1.farzat.xyz
+ User farzat
+ ForwardAgent yes
+ IdentitiesOnly yes
+ IdentityFile ${XDG_DATA_HOME}/ssh_pub_keys/arch1.pub
diff --git a/.local/share/ssh_pub_keys/arch1.pub b/.local/share/ssh_pub_keys/arch1.pub
new file mode 100644
index 0000000..5bb5fb1
--- /dev/null
+++ b/.local/share/ssh_pub_keys/arch1.pub
@@ -0,0 +1,3 @@
+U2FsdGVkX18BB48cw2YwVJuVRzw+fD73PaCjV4D0YntcSuk3Isvq5e3J9kBJq98L
+u+rYqV+lHCHV9cPj7zwXz1mgReGExKUAWDaYOuSVQ4tACBKrpbwBbjOdR4mGghfZ
+7LcjCyfaTjXgFUTlpdNi8w==
diff --git a/.local/share/ssh_pub_keys/main1.pub b/.local/share/ssh_pub_keys/main1.pub
deleted file mode 100644
index c1e1f59..0000000
--- a/.local/share/ssh_pub_keys/main1.pub
+++ /dev/null
@@ -1,3 +0,0 @@
-U2FsdGVkX1+uA2Z3bIzgymzCXDhtoCqalwBEKNUIijLiyn8SSbMKckccCnXhxnrl
-oNGis8UaPWefpp3XSafyIulfPqbOUeWq/STn8ULIlnmfHKpJ0kPXbf0cL+2rplSU
-ogYOwRChwCEnIofwgkdDMyoi7Iiywxj0uzIwhF6XNLA=
diff --git a/.local/share/ssh_pub_keys/ubuntu1.pub b/.local/share/ssh_pub_keys/ubuntu1.pub
new file mode 100644
index 0000000..db423ee
--- /dev/null
+++ b/.local/share/ssh_pub_keys/ubuntu1.pub
@@ -0,0 +1,3 @@
+U2FsdGVkX1/JWZ8a/txjccppYTjVKrU4Fdq3azeiAcrwJmRLlINCfQNMfVk3sP/Y
+VaXNnEyhJZe4/qNGBPYtsrunUN/gjC0NuPqp0XQMigOoWUweGlDT6KKw5YYpAM3E
+rADxbwxLyV0LNrdvmkIV5Q==