I did setup and V3 hidden service for ssh but I'm not able to connect to the server through tor. When I run
torify ssh USER@MYHIDDENSERVICEADDRESS.onionI get the following error:
1639811611 ERROR torsocks: General SOCKS server failure (in socks5_recv_connect_reply() at socks5.c:527) ssh: connect to host MYHIDDENSERVICEADDRESS.onion port 22: Connection refused
I don't know why it's not working. I added the authentication file to
var/lib/tor/hidden_service_ssh/USER/authorized_clients and also configured
/var/lib/tor/onion_auth according to this guide (which worked for another hidden service).
I read somewhere that torsocks is depreciated since hidden service V3 but I'm not sure how to deal with it if that is the case.