summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2024-11-10 08:38:38 +0900
committerA Farzat <a@farzat.xyz>2024-11-14 08:42:44 +0900
commit2e1979ca24c13bb04c8ecd5fe09e01678f40e53e (patch)
tree87dececd449219777f4aaa6775b9be85850b40ca /.config
parentd3ea797dd503a88e17025dc113a5c23a1c69ae81 (diff)
downloaddotfiles-2e1979ca24c13bb04c8ecd5fe09e01678f40e53e.tar.gz
dotfiles-2e1979ca24c13bb04c8ecd5fe09e01678f40e53e.zip
Update ssh config
Diffstat (limited to '.config')
-rw-r--r--.config/ssh/arch.config2
-rw-r--r--.config/ssh/farzat_xyz.config13
2 files changed, 11 insertions, 4 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