diff options
author | A Farzat <a@farzat.xyz> | 2024-11-10 08:38:38 +0900 |
---|---|---|
committer | A Farzat <a@farzat.xyz> | 2024-11-14 08:42:44 +0900 |
commit | 2e1979ca24c13bb04c8ecd5fe09e01678f40e53e (patch) | |
tree | 87dececd449219777f4aaa6775b9be85850b40ca | |
parent | d3ea797dd503a88e17025dc113a5c23a1c69ae81 (diff) | |
download | dotfiles-2e1979ca24c13bb04c8ecd5fe09e01678f40e53e.tar.gz dotfiles-2e1979ca24c13bb04c8ecd5fe09e01678f40e53e.zip |
Update ssh config
-rw-r--r-- | .config/ssh/arch.config | 2 | ||||
-rw-r--r-- | .config/ssh/farzat_xyz.config | 13 | ||||
-rw-r--r-- | .local/share/ssh_pub_keys/arch1.pub | 3 | ||||
-rw-r--r-- | .local/share/ssh_pub_keys/main1.pub | 3 | ||||
-rw-r--r-- | .local/share/ssh_pub_keys/ubuntu1.pub | 3 |
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== |