From: Jan Kratochvil Date: Sat, 19 Jun 2021 09:20:56 +0000 (+0200) Subject: .ssh/config: Simplify. X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=191dd2cee42e391ec5f8d6a9c35a94598a926adc .ssh/config: Simplify. --- diff --git a/.ssh/config b/.ssh/config index 37805b1..33e5275 100644 --- a/.ssh/config +++ b/.ssh/config @@ -9,74 +9,6 @@ Host localhost #Cipher none Compression no -Host sebastian.redhat.com ovpn-phx2.redhat.com 209.132.183.3 -ControlMaster auto -ControlPath /tmp/ssh-%h-%p-%r.sock -# Required for: http://intranet.corp.redhat.com/ic/intranet/LWNReminder.html -# =squid.rdu.redhat.com=file.rdu.redhat.com -LocalForward 3228 squid.redhat.com:8080 -# Looks to be stucking (=squid.redhat.com=10.11.255.147): -LocalForward 3328 squid.corp.redhat.com:3128 -LocalForward 3428 squid.brq.redhat.com:3128 -LocalForward 3528 squid.bos.redhat.com:8080 -LocalForward 3025 smtp.corp.redhat.com:25 -#LocalForward 3025 mail.stuttgart.redhat.com:25 -#LocalForward 3993 pobox.devel.redhat.com:993 -#LocalForward 3983 pobox.stuttgart.redhat.com:993 -LocalForward 3973 mail.corp.redhat.com:993 -# Now being gatewayed: LocalForward 6668 irc.freenode.net:6667 -LocalForward 6668 barstool.build.redhat.com:6688 -# http://intranet.corp.redhat.com/ic/intranet/IRCServerList.html -# devserv.devel.redhat.com is obsolete? "administratively prohibited" now. -LocalForward 6670 devserv.devel.redhat.com:6667 -LocalForward 6671 porky.stuttgart.redhat.com:6667 -LocalForward 6672 irc.devel.redhat.com:6667 -LocalForward 6673 irc-2.devel.redhat.com:6667 -LocalForward 6674 irc.yyz.redhat.com:6667 -#LocalForward 3389 ldap.stuttgart.redhat.com:389 -LocalForward 3389 ldap.str.redhat.com:389 -LocalForward 3046 curly.devel.redhat.com:4046 -LocalForward 3047 curly.devel.redhat.com:2049 -LocalForward 3234 engarchive.rdu.redhat.com:1234 -LocalForward 3235 engarchive.rdu.redhat.com:2049 -# RHTS: -LocalForward 3290 rhts.redhat.com:80 -LocalForward 3293 rhts.redhat.com:443 -# www.farm.hsv.redhat.com - http://farmer.farm.hsv.redhat.com/ -LocalForward 3291 www.farm.hsv.redhat.com:80 -# /tmp/tts-fill.sh -LocalForward 3292 tts.englab.brq.redhat.com:443 -# monotone: elfutils -LocalForward 4691 ups.hsv.redhat.com:4691 -# Brew is too slow remotely: -# http://brewhub.devel.redhat.com/brewhub -#LocalForward 3280 brewhub.devel.redhat.com:80 -#LocalForward 3088 kerberos.corp.redhat.com:88 -# Using RHTS repository instead: -#LocalForward 3180 devserv.devel.redhat.com:3180 -# [redhat.com #915466] -LocalForward 3190 calendar.corp.redhat.com:443 -LocalForward 3196 mail06.corp.redhat.com:443 -# redhat.com XMPP -LocalForward 3222 chat.corp.redhat.com:5222 -# brq.redhat.com XMPP -LocalForward 3223 services.brq.redhat.com:5222 -# cvs.devel.redhat.com pserver+ssh -LocalForward 3401 cvs.devel.redhat.com:2401 -LocalForward 3422 cvs.devel.redhat.com:22 -GatewayPorts yes -# Kerberos -LocalForward 3749 kerberos.corp.redhat.com:749 -LocalForward 3880 kerberos.rdu.redhat.com:88 -LocalForward 3881 kerberos.bos.redhat.com:88 -LocalForward 3882 kerberos.hsv.redhat.com:88 -LocalForward 3883 genbu.tokyo.redhat.com:88 -LocalForward 3884 kerberos.stuttgart.redhat.com:88 -LocalForward 3885 kerberos.bne.redhat.com:88 -LocalForward 3886 kerberos.iad.redhat.com:88 - -ProxyCommand none -StrictHostKeyChecking yes Host rawhide64.englab.brq.redhat.com shell.lab.bos.redhat.com User jkratoch Host tofu.yyz.redhat.com @@ -87,44 +19,14 @@ Port 30 Host *.test.redhat.com *.lab.boston.redhat.com *.rhts.boston.redhat.com *.lab.bos.redhat.com *.eng.bos.redhat.com *.rhts.bos.redhat.com *.z900.redhat.com *.cambridge.redhat.com *.gsslab.rdu.redhat.com prdell.brq.redhat.com *.englab.brq.redhat.com *.eng.brq.redhat.com *.rhts.eng.rdu.redhat.com *.rhts.eng.nay.redhat.com *.s390.bos.redhat.com dhcp45.install.bos.redhat.com User root UserKnownHostsFile /dev/null -Host cvs.fedora.redhat.com sources.redhat.com ovpn-phx2.redhat.com 209.132.183.3 -ProxyCommand none -StrictHostKeyChecking yes Host ovpn-phx2.redhat.com 209.132.183.3 Port 330 User jkratoch Host *.redhat.com porkchop devserv barstool 192.168.79.133 shell shell.lab.bos.redhat.com User jkratoch -#ProxyCommand /usr/bin/ssh sebastian.redhat.com exec nc %h %p -#ProxyCommand /usr/bin/ssh ovpn-phx2.redhat.com exec nc %h %p -#ProxyCommand /usr/bin/ssh 209.132.183.3 exec nc %h %p -#ProxyCommand /usr/bin/ssh host0 /usr/bin/ssh 209.132.183.3 exec nc %h %p -###bastion: -###ProxyCommand /usr/bin/ssh -W %h:%p 209.132.183.3 -# iptables -t nat -A OUTPUT -p tcp -d 10.10.36.184 --dport 6667 -j DNAT --to-destination 127.0.0.1:6671 -# iptables -t nat -A OUTPUT -p tcp -d 10.4.122.10 --dport 25 -j DNAT --to-destination 127.0.0.1:3025 StrictHostKeyChecking no NumberOfPasswordPrompts 6 -Host shell -HostName shell.lab.bos.redhat.com -HostKeyAlias shell.lab.bos.redhat.com -Host porkchop -HostName porkchop.devel.redhat.com -HostKeyAlias porkchop.devel.redhat.com -Host devserv -HostName devserv.devel.redhat.com -HostKeyAlias devserv.devel.redhat.com -Host barstool -HostName barstool.build.redhat.com -HostKeyAlias barstool.build.redhat.com -#Host cvsdevelrh -#HostName 192.168.67.2 -#User jkratoch -#Port 3422 -#HostKeyAlias cvs.devel.redhat.com -Host git.fedorahosted.org fedorahosted.org -User jankratochvil -Host *.fsffrance.org +Host git.fedorahosted.org fedorahosted.org *.fsffrance.org User jankratochvil Host virt @@ -138,21 +40,9 @@ HostName 172.20.0.2 Host bombadil.infradead.org User lace -Host nokia6 -User root - -Host hotelgate hotelgate.hotelsevendays.cz -User root -Host hotelgate -HostName 82.142.64.220 -HostKeyAlias hotelgate.hotelsevendays.cz - Host gw.jklabs.cz User root -Host tercie.tone.cz -User short - Host fencepost.gnu.org User jankratochvil @@ -178,22 +68,13 @@ HostName manon.vellum.cz HostKeyAlias manon.vellum.cz Host dolly.vellum.cz User short -Host rallye.panda.cz -User short Host atrey.karlin.mff.cuni.cz User short -Host deda1 -User root - Host jklabs-sh-server jklabs-sh-server.jankratochvil.net User root -Host farm2 -UserKnownHostsFile /dev/null -StrictHostKeyChecking no - Host download-stock HostName vps2.jankratochvil.net HostKeyAlias vps2.jankratochvil.net @@ -204,17 +85,17 @@ Port 8022 # OpenWrt # https://bugzilla.redhat.com/show_bug.cgi?id=1881301#c38 -host 192.168.66.13 ap13 +Host 192.168.66.13 ap13 PubkeyAcceptedKeyTypes ssh-rsa User root Host * Compression yes -#CompressionLevel 9 +# no longer supported: CompressionLevel 9 ForwardAgent no ConnectionAttempts 1 UsePrivilegedPort no -#RhostsRSAAuthentication no +# no longer supported: RhostsRSAAuthentication no ForwardX11 no ServerAliveInterval 60 StrictHostKeyChecking ask