From 5b50d342bf19e565782f58796c686f7b7cb848af Mon Sep 17 00:00:00 2001 From: A Farzat Date: Tue, 1 Oct 2024 11:40:23 +0900 Subject: Add ssh config --- .config/ssh/arch.config | 7 +++++++ .config/ssh/farzat_xyz.config | 8 ++++++++ .gitattributes | 1 + .local/share/ssh_pub_keys/aur.pub | 3 +++ .local/share/ssh_pub_keys/main1.pub | 3 +++ .ssh/config | 5 +++++ 6 files changed, 27 insertions(+) create mode 100644 .config/ssh/arch.config create mode 100644 .config/ssh/farzat_xyz.config create mode 100644 .local/share/ssh_pub_keys/aur.pub create mode 100644 .local/share/ssh_pub_keys/main1.pub create mode 100644 .ssh/config diff --git a/.config/ssh/arch.config b/.config/ssh/arch.config new file mode 100644 index 0000000..c81908f --- /dev/null +++ b/.config/ssh/arch.config @@ -0,0 +1,7 @@ +# vim: set filetype=sshconfig : + +Host aur.archlinux.org + HostName aur.archlinux.org + User aur + IdentitiesOnly yes + IdentityFile ~/.local/share/ssh_pub_keys/aur.pub diff --git a/.config/ssh/farzat_xyz.config b/.config/ssh/farzat_xyz.config new file mode 100644 index 0000000..4234c73 --- /dev/null +++ b/.config/ssh/farzat_xyz.config @@ -0,0 +1,8 @@ +# vim: set filetype=sshconfig : + +Host main1 + HostName farzat.xyz + User farzat + ForwardAgent yes + IdentitiesOnly yes + IdentityFile ~/.local/share/ssh_pub_keys/main1.pub diff --git a/.gitattributes b/.gitattributes index a112c3b..b6b97f7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,3 @@ #pattern filter=crypt diff=crypt merge=crypt .abook/* filter=crypt diff=crypt merge=crypt +.local/share/ssh_pub_keys/* filter=crypt diff=crypt merge=crypt diff --git a/.local/share/ssh_pub_keys/aur.pub b/.local/share/ssh_pub_keys/aur.pub new file mode 100644 index 0000000..6f0e463 --- /dev/null +++ b/.local/share/ssh_pub_keys/aur.pub @@ -0,0 +1,3 @@ +U2FsdGVkX1+mMj8bTZzPj3sJOgrIRNYpV6SMzVehaNCJv353BtCBSup7nwQUPlUH +pCShjBbMmkpkV2JgC5DpidN1mJOiVM5rsRzepeMZp73tGWhDFjd/CXvtJBNPnm/l +UZ65I0s/LryY399caZ6bsg== diff --git a/.local/share/ssh_pub_keys/main1.pub b/.local/share/ssh_pub_keys/main1.pub new file mode 100644 index 0000000..c1e1f59 --- /dev/null +++ b/.local/share/ssh_pub_keys/main1.pub @@ -0,0 +1,3 @@ +U2FsdGVkX1+uA2Z3bIzgymzCXDhtoCqalwBEKNUIijLiyn8SSbMKckccCnXhxnrl +oNGis8UaPWefpp3XSafyIulfPqbOUeWq/STn8ULIlnmfHKpJ0kPXbf0cL+2rplSU +ogYOwRChwCEnIofwgkdDMyoi7Iiywxj0uzIwhF6XNLA= diff --git a/.ssh/config b/.ssh/config new file mode 100644 index 0000000..43a394f --- /dev/null +++ b/.ssh/config @@ -0,0 +1,5 @@ +Host * + Include ~/.config/ssh/*.config + Include ~/.ssh/*.config + + SendEnv LC_* LANG -- cgit v1.2.3-70-g09d2