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 /.config/ssh/farzat_xyz.config | |
parent | d3ea797dd503a88e17025dc113a5c23a1c69ae81 (diff) | |
download | dotfiles-2e1979ca24c13bb04c8ecd5fe09e01678f40e53e.tar.gz dotfiles-2e1979ca24c13bb04c8ecd5fe09e01678f40e53e.zip |
Update ssh config
Diffstat (limited to '.config/ssh/farzat_xyz.config')
-rw-r--r-- | .config/ssh/farzat_xyz.config | 13 |
1 files changed, 10 insertions, 3 deletions
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 |