summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2024-11-17 22:57:22 +0900
committerA Farzat <a@farzat.xyz>2024-11-17 22:57:22 +0900
commitc9d655a9181b0a8ea281849b387545e68bbcfb66 (patch)
tree3ae21956c83661cde9db81c3b342e0c6fab647be
parent991f329aaf8f22665e59e9cd5068fbd6fe3d571d (diff)
downloaddotfiles-c9d655a9181b0a8ea281849b387545e68bbcfb66.tar.gz
dotfiles-c9d655a9181b0a8ea281849b387545e68bbcfb66.zip
Add ssh config for gitolite
-rw-r--r--.config/ssh/farzat_xyz.config4
-rw-r--r--.config/ssh/home_servers.config44
2 files changed, 47 insertions, 1 deletions
diff --git a/.config/ssh/farzat_xyz.config b/.config/ssh/farzat_xyz.config
index db1f5e3..330e195 100644
--- a/.config/ssh/farzat_xyz.config
+++ b/.config/ssh/farzat_xyz.config
@@ -7,7 +7,9 @@ Host ubuntu1
IdentitiesOnly yes
IdentityFile ${XDG_DATA_HOME}/ssh_pub_keys/ubuntu1.pub
-Host arch1
+Host arch1_g1
+ User gitolite
+Host arch1 arch1_*
HostName arch1.farzat.xyz
User farzat
ForwardAgent yes
diff --git a/.config/ssh/home_servers.config b/.config/ssh/home_servers.config
new file mode 100644
index 0000000..dc4f5fe
--- /dev/null
+++ b/.config/ssh/home_servers.config
@@ -0,0 +1,44 @@
+# vim: set filetype=sshconfig :
+
+# This is a useful option when the OS(host) changes temporarily.
+ # UserKnownHostsFile /dev/null
+
+Host pavilion1local
+ HostName 192.168.8.114
+ User farzat
+ RemoteForward ${HOME}/.clipper.sock ${HOME}/.clipper.sock
+ ForwardAgent yes
+ IdentitiesOnly yes
+ IdentityFile ${XDG_DATA_HOME}/ssh_pub_keys/farzat-pavilion1.pub
+
+Host matebook1local
+ HostName 192.168.8.172
+ User farzat
+ RemoteForward /home/farzat/.clipper.sock ${HOME}/.clipper.sock
+ ForwardAgent yes
+ IdentitiesOnly yes
+ IdentityFile ~/.dotfiles/ssh/pub_keys/farzat-matebook1.pub
+
+Host spectre1local
+ HostName 192.168.8.181
+ User farzat
+ RemoteForward /home/farzat/.clipper.sock ${HOME}/.clipper.sock
+ ForwardAgent yes
+ IdentitiesOnly yes
+ IdentityFile ~/.dotfiles/ssh/pub_keys/farzat-spectre1.pub
+
+Host iiyama1local
+ HostName 192.168.8.111
+ User farzat
+ RemoteForward /home/farzat/.clipper.sock ${HOME}/.clipper.sock
+ ForwardAgent yes
+ IdentitiesOnly yes
+ IdentityFile ~/.dotfiles/ssh/pub_keys/farzat-iiyama1.pub
+
+Host asus1local
+ HostName 192.168.8.112
+ User farzat
+ RemoteForward /home/farzat/.clipper.sock ${HOME}/.clipper.sock
+ ForwardAgent yes
+ IdentitiesOnly yes
+ IdentityFile ~/.dotfiles/ssh/pub_keys/farzat-asus1.pub