I run a couple of raspberry pis with hidden services on it (for remote access via SSH).
I used to use a .ssh/config to get nice aliases for the hidden services.
Something like:
Host *.onion
CheckHostIP noCompression yes
Protocol 2
ProxyCommand connect -S localhost:9050 %h %p
Host node1
Hostname sadfkadwerwpadf.onion
Then ssh node1
used to work just fine. It would first see that it has to go to sadfkadwerwpadf.onion and then see that all *.onion hosts go to the TOR proxy.
Somehow under Ubuntu 15.10 this has stopped working. I now get:
user@host~$ ssh node1
ssh: Could not resolve hostname sadfkadwerwpadf.onion: Name or service not known
I also reinstalled everything when moving from 14.04 to 15.10, so maybe I am just missing a package.
Does anyone have an idea what it could be? Or did ssh change the behaviour?
Host *.onion
underHost node1
instead? That should help narrow down the problem.ssh sadfkadwerwpadf.onion
Host *onion
rules aren't applied when you usenode1
. Maybe because the expansion occurs after applying the rules and sincenode1
doesn't match*.onion
before expanding, the rules aren't applied. I'm only guessing though.