]> 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:

add sgs7e
authormartin f. krafft <madduck@madduck.net>
Sun, 13 Aug 2017 07:20:24 +0000 (09:20 +0200)
committermartin f. krafft <madduck@madduck.net>
Sun, 13 Aug 2017 07:20:33 +0000 (09:20 +0200)
.gitignore.d/ssh
.ssh/config.in
.ssh/known_hosts.d/sgs7e [new file with mode: 0644]

index 1e433b66ed10ce99580711f7cc4ee42f852101d3..0b9770ae8d03b149d69c7bec8de432c0bdc55b2a 100644 (file)
@@ -1,46 +1,29 @@
 *
-!/.config
-!/.config/vcsh
-!/.config/vcsh/hooks-available
 !/.config/vcsh/hooks-available/ssh.update
-!/.config/vcsh/hooks-enabled
-!/.config/vcsh/hooks-enabled/clone.post-ssh
-!/.config/vcsh/hooks-enabled/enter.post-ssh
-!/.config/vcsh/hooks-enabled/pull.post-ssh
-!/.config/vcsh/hooks-enabled/run.post-ssh
-!/.gitignore.d
+!/.config/vcsh/hooks-enabled/ssh.post-clone
+!/.config/vcsh/hooks-enabled/ssh.post-enter
+!/.config/vcsh/hooks-enabled/ssh.post-pull
+!/.config/vcsh/hooks-enabled/ssh.post-run
 !/.gitignore.d/ssh
-!/.ssh
-!/.ssh/authorized_keys.d
 !/.ssh/authorized_keys.d/ed25519@albatross
 !/.ssh/authorized_keys.d/ed25519@fishbowl
 !/.ssh/authorized_keys.d/openpgp@smartcard
 !/.ssh/config.in
 !/.ssh/.gitignore
-!/.ssh/known_hosts.d
-!/.ssh/known_hosts.d/bazaar.launchpad.net
 !/.ssh/known_hosts.d/debconf.org
-!/.ssh/known_hosts.d/debian-community.org
 !/.ssh/known_hosts.d/debian.org
 !/.ssh/known_hosts.d/gauting.madduck.net
 !/.ssh/known_hosts.d/gern.madduck.net
 !/.ssh/known_hosts.d/github.com
 !/.ssh/known_hosts.d/lehel.madduck.net
 !/.ssh/known_hosts.d/madduck.net
-!/.ssh/known_hosts.d/mjollnir.org
 !/.ssh/known_hosts.d/mtfk.de
 !/.ssh/known_hosts.d/mtvic.madduck.net
-!/.ssh/known_hosts.d/sheep.umverkehr.ch
+!/.ssh/known_hosts.d/sgs7e
 !/.ssh/known_hosts.d/skynet.ie
 !/.ssh/known_hosts.d/tilde-club
 !/.ssh/known_hosts.d/viinet.de
 !/.ssh/Makefile
-!/.var
-!/.var/ssh
 !/.var/ssh/.gitignore
-!/.xsession.d
 !/.xsession.d/20-ssh-ask-passphrase
-!/.zsh
-!/.zsh/zshrc
-!/.zsh/zshrc/parts.d
 !/.zsh/zshrc/parts.d/50-ssh
index 8605a73cae3cd2f841083776159dc3fc50366bb8..c77addba49f671522aec9ca51fb03b87eb9baa6d 100644 (file)
@@ -263,6 +263,13 @@ Host fishbowl | fishbowl.rw.madduck.net
   HostKeyAlias fishbowl
   ProxyCommand bash -c "TARGETS=$( (TRIES=%h.{gern,lehel,gauting,mtvic,rw}.madduck.net; eval fping -aAC1 -t500 $TRIES 2>&1 & eval fping6 -aAC1 -t500 $TRIES 2>&1; wait) | sed -rne 's, : ([[:digit:]]), @\1,p' | sort -t@ -k2n | sed -ne 's, .*,,p' | tr '\n' ','); echo Targets: \$TARGETS using \${TARGETS%%%%,*} … >&2; exec nc -vq0 \${TARGETS%%%%,*} %p"
 
+### PHONES
+
+Host sgs7e | sgs7e.phones.*
+  Port 2222
+  User admin
+  HostName sgs7e.phones
+
 ### LOCAL VIRT HOSTS
 
 Host wafer.virt
diff --git a/.ssh/known_hosts.d/sgs7e b/.ssh/known_hosts.d/sgs7e
new file mode 100644 (file)
index 0000000..c278a17
--- /dev/null
@@ -0,0 +1 @@
+[sgs7e.phones]:2222,[192.168.14.98]:2222 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIXEbVO317NzGi5V7sWkzwbqUbgBzNiZouYvzpXKoD1FiywilFcMl53tYk573W6y1YVnIZBT8P9UAyinhmBHPLk=