This commit is contained in:
Morten Olsen
2025-10-21 22:19:33 +02:00
commit 5f8e8f4dd5
19 changed files with 582 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# ------------START-CODER-----------
# This section is managed by coder. DO NOT EDIT.
#
# You should not hand-edit this section unless you are removing it, all
# changes will be lost when running "coder config-ssh".
#
Host coder.*
ConnectTimeout=0
StrictHostKeyChecking=no
UserKnownHostsFile=/dev/null
LogLevel ERROR
ProxyCommand /opt/homebrew/bin/coder --global-config "~/Library/Application Support/coderv2" ssh --stdio --ssh-host-prefix coder. %h
Host *.coder
ConnectTimeout=0
StrictHostKeyChecking=no
UserKnownHostsFile=/dev/null
LogLevel ERROR
Match host *.coder !exec "/opt/homebrew/bin/coder connect exists %h"
ProxyCommand /opt/homebrew/bin/coder --global-config "~/Library/Application Support/coderv2" ssh --stdio --hostname-suffix coder %h
# ------------END-CODER------------

View File

@@ -0,0 +1,13 @@
host github-private
hostname ssh.github.com
user git
port 443
IdentityFile ~/.ssh/keys/github-private.pub
IdentitiesOnly yes
host gitea-ssh.olsen.cloud
hostname gitea-ssh.olsen.cloud
user git
port 2202
IdentityFile ~/.ssh/keys/github-private.pub
IdentitiesOnly yes

View File

@@ -0,0 +1,6 @@
host github-zeronorth
hostname ssh.github.com
user git
port 443
IdentityFile ~/.ssh/keys/github-zeronorth.pub
IdentitiesOnly yes

4
dot_ssh/config.d/github Normal file
View File

@@ -0,0 +1,4 @@
host github.com
hostname ssh.github.com
user git
port 443