summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2024-10-01 11:40:23 +0900
committerA Farzat <a@farzat.xyz>2024-10-01 11:40:23 +0900
commit5b50d342bf19e565782f58796c686f7b7cb848af (patch)
tree58fb6b7d05c3a69a3d0026d4ac558cf0fbddfec5
parentadfdd790ffc7cdd18237d15fb4808f909a1320a8 (diff)
downloaddotfiles-5b50d342bf19e565782f58796c686f7b7cb848af.tar.gz
dotfiles-5b50d342bf19e565782f58796c686f7b7cb848af.zip
Add ssh config
-rw-r--r--.config/ssh/arch.config7
-rw-r--r--.config/ssh/farzat_xyz.config8
-rw-r--r--.gitattributes1
-rw-r--r--.local/share/ssh_pub_keys/aur.pub3
-rw-r--r--.local/share/ssh_pub_keys/main1.pub3
-rw-r--r--.ssh/config5
6 files changed, 27 insertions, 0 deletions
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