1

I got the following entries in my .ssh/config:

Host *.onion
 ProxyCommand socat - SOCKS4A:localhost:%h:%p,socksport=9050

Host hidden-dev
  Hostname blablahash.onion

this config worked fine on Debian jessie, yet after upgrade to stretch, this config doesn't seem to work, it seems that Host *.onion line matches the alias name, instead of the actual hostname. Any clues what I should do ?

Giacomo1968
  • 55,001
  • Have you tried to swap the entries around? Put hidden-dev BEFORE *.onion. Or use hidden-dev.onion instead of shorter hidded-dev. – Tomek Dec 21 '19 at 09:09

2 Answers2

2

I made a mix of multiple answers and comments and and it worked:

Putting the following line after 'hidden-dev' entry worked:

Match Host *.onion
  ProxyCommand socat - SOCKS4A:localhost:%h:%p,socksport=9050
Giacomo1968
  • 55,001
0

Use Host canonical *.onion for two-pass lookup.

u1686_grawity
  • 452,512