]> git.madduck.net Git - etc/ssh.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

ssh config cleanup
authormartin f. krafft <madduck@madduck.net>
Fri, 11 Nov 2022 08:10:34 +0000 (09:10 +0100)
committermartin f. krafft <madduck@madduck.net>
Fri, 11 Nov 2022 08:10:34 +0000 (09:10 +0100)
.ssh/config.in

index 27d8794897f6597ed0438b74ef8097407b5cf394..8905797b59ed925564bbd5639e7d4ecbec9eee10 100644 (file)
@@ -3,7 +3,7 @@ Host 127.0.0.1 | localhost
   ForwardX11Trusted yes
   NoHostAuthenticationForLocalhost yes
 
   ForwardX11Trusted yes
   NoHostAuthenticationForLocalhost yes
 
-### CHARADE KVM HOST
+### ECLIPSE KVM HOST
 
 Host eclipse.madduck.net | eclipse
   Hostname eclipse.madduck.net
 
 Host eclipse.madduck.net | eclipse
   Hostname eclipse.madduck.net
@@ -12,9 +12,6 @@ Host eclipse-luks
   AddressFamily inet
   User root
 
   AddressFamily inet
   User root
 
-Host charade.madduck.net | charade
-  Hostname charade.madduck.net
-
 Host emily.madduck.net | emily | eclipse-kvm
   Hostname emily.madduck.net
 
 Host emily.madduck.net | emily | eclipse-kvm
   Hostname emily.madduck.net
 
@@ -92,13 +89,11 @@ Host scratch.madduck.net | scratch
   User madduck
   HostKeyAlias diamond.madduck.net
 Host tunes.madduck.net | tunes
   User madduck
   HostKeyAlias diamond.madduck.net
 Host tunes.madduck.net | tunes
-  AddressFamily inet
   ControlMaster no
   Hostname tunes.madduck.net
   HostKeyAlias diamond.madduck.net
   IPQoS lowdelay af13
 Host flics.madduck.net | flics
   ControlMaster no
   Hostname tunes.madduck.net
   HostKeyAlias diamond.madduck.net
   IPQoS lowdelay af13
 Host flics.madduck.net | flics
-  AddressFamily inet
   ControlMaster no
   Hostname flics.madduck.net
   HostKeyAlias diamond.madduck.net
   ControlMaster no
   Hostname flics.madduck.net
   HostKeyAlias diamond.madduck.net
@@ -220,98 +215,12 @@ Host mother
   Hostname mother.rw.vpn.madduck.net
   CheckHostIP no
 
   Hostname mother.rw.vpn.madduck.net
   CheckHostIP no
 
-### PHONES
-
-Host oneplus5t | oneplus5t.phones.*
-  Port 2222
-  User shell
-  HostName oneplus5t.phones
-  HostKeyAlias oneplus5t.phones
-  LocalForward localhost:8383 localhost:8384
-
-Host tethered-oneplus5t
-  Port 2222
-  User shell
-  HostName 192.168.43.1
-  HostKeyAlias oneplus5t.phones
-  LocalForward localhost:8383 localhost:8384
-
-Host sgs7e | sgs7e.phones.*
-  Port 2222
-  User shell
-  HostName sgs7e.phones
-  HostKeyAlias sgs7e.phones
-  LocalForward localhost:8382 localhost:8384
-
-Host tethered-sgs7e
-  Port 2222
-  User shell
-  HostName 192.168.43.1
-  HostKeyAlias sgs7e.phones
-  LocalForward localhost:8382 localhost:8384
-
-Host sgs5m | sgs5m.phones.*
-  Port 2222
-  User shell
-  HostName sgs5m.phones
-  HostKeyAlias sgs5m.phones
-  LocalForward localhost:8381 localhost:8384
-
-### LOCAL VIRT HOSTS
-
-Host red | green | blue | yellow | black | white | orange | violet | wafer
-  CanonicalDomains virt
-  CanonicalizeHostname yes
-  CanonicalizeFallbackLocal no
-  CanonicalizeMaxDots 0
-  VerifyHostKeyDNS no
-  CheckHostIP no
-  StrictHostKeyChecking no
-  UserKnownHostsFile /dev/null
-
-### DEBIAN
-
-Host alioth.debian.org | anonscm.alioth.debian.org | svn.debian.org | git.debian.org | hg.debian.org | cvs.debian.org
-  HostKeyAlias moszumanska.debian.org
-
-Host people.debian.org | people
-  Hostname people.debian.org
-  HostKeyAlias paradis.debian.org
-
-Host master.debian.org | master
-  Hostname master.debian.org
-
-Match host *.debian.org
-  StrictHostKeyChecking ask
-  VerifyHostKeyDNS ask
-  User madduck
-
-### DEBCONF
-
-Host nelson.debconf.org | penta.debconf.org | nelson | summit | summit.debconf.org
-  Hostname nelson.debconf.org
-  ProxyJump sysyphus.madduck.net
-
-Host itchy.debconf.org | itchy | wafer.debconf.org | wafer
-  Hostname itchy.debconf.org
-  ProxyJump sysyphus.madduck.net
-
-Host kent.debconf.org | kent
-  Hostname kent.debconf.org
-  ProxyJump sysyphus.madduck.net
-
 ### TILDE CLUB
 
 Host squiggle.city
   Hostname squiggle.city
   User madduck
 
 ### TILDE CLUB
 
 Host squiggle.city
   Hostname squiggle.city
   User madduck
 
-### NZ
-
-Host workbuffer.org | nz
-  Hostname workbuffer.org
-  User madduck
-
 ### MISC
 
 Host github.com | github
 ### MISC
 
 Host github.com | github
@@ -326,10 +235,6 @@ Host gitlab.debian.net | git.fosscommunity.in
   Hostname gitlab.debian.net
   User gitlab
 
   Hostname gitlab.debian.net
   User gitlab
 
-Host grimble.mtfk.de | grimble | mtfk
-  CheckHostIP no
-  Hostname grimble.mtfk.de
-
 Host lion.mjollnir.org | lion
   Hostname lion.mjollnir.org
   User madduck
 Host lion.mjollnir.org | lion
   Hostname lion.mjollnir.org
   User madduck
@@ -348,7 +253,10 @@ Host clegg.northdrive.de
 
 Match host *.madduck.net
   StrictHostKeyChecking ask
 
 Match host *.madduck.net
   StrictHostKeyChecking ask
-  VerifyHostKeyDNS ask
+
+Match host *.debian.org
+  StrictHostKeyChecking ask
+  User madduck
 
 Host *
   IgnoreUnknown *
 
 Host *
   IgnoreUnknown *
@@ -358,14 +266,10 @@ Host *
   ControlPersist 30
   ExitOnForwardFailure no
   ForwardAgent no
   ControlPersist 30
   ExitOnForwardFailure no
   ForwardAgent no
-  #ForwardX11 no
-  #ForwardX11Trusted no
   HashKnownHosts no
   NumberOfPasswordPrompts 2
   PasswordAuthentication yes
   HashKnownHosts no
   NumberOfPasswordPrompts 2
   PasswordAuthentication yes
-  Protocol 2
   ServerAliveInterval 45
   StrictHostKeyChecking yes
   ServerAliveInterval 45
   StrictHostKeyChecking yes
-  #UpdateHostKeys no
   VerifyHostKeyDNS ask
   VisualHostKey no
   VerifyHostKeyDNS ask
   VisualHostKey no