charmbracelet / wishlist

The SSH directory ✨

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: invalid node on app "*+*": "##############"

e-minguez opened this issue · comments

head -n16 ~/.ssh/config
# General config
Host *
  #ControlPath ~/.ssh/%r@%h:%p
  #ControlPath ~/.ssh/master-%l-%r@%h:%p
  ControlMaster auto
  ControlPersist 1

# Trick to do stuff like:
# ssh -D9999 user1%host1:port1+host2:port2 -l user2
# https://wiki.gentoo.org/wiki/SSH_jump_host
Host *+*
    ProxyCommand ssh $(echo %h | sed 's/+[^+]*$//;s/\([^+%%]*\)%%\([^+]*\)$/\2 -l \1/;s/:/ -p /') nc $(echo %h | sed 's/^.*+//;/:/!s/$/ %p/;s/:/ /')

##############
# HOME STUFF #
##############

It seems it doesn't like comments (?)

oh, good catch, thanks for the report!