sshuttle can't resolve hosts when the server can

150 views
Skip to first unread message

Srand06

unread,
Feb 14, 2019, 11:29:00 PM2/14/19
to sshuttle
Hey guys,

I met a weird behavior with sshuttle. When it does not run I get :

host myhost
Host myhost not found: 3(NXDOMAIN)

When it's connected I get :

host myhost
myhost has address 10.90.12.100

However ssh can't resolve it :

ssh myhost
ssh: Could not resolve hostname myhost: nodename nor servname provided, or not known

Any idea what's going on ?

There seems to be a big host resolution issue. My setup is a VirtualBox machine with openvpn running and connected to a server, and sshuttle that runs locally and connect to that VM. Resolving directly in the VM works well but resolving from the local host does not, even if I use --dns 0/0

Thank you

Brian May

unread,
Feb 18, 2019, 1:38:06 AM2/18/19
to sshuttle
Srand06 <csce...@gmail.com> writes:

> ssh myhost
> ssh: Could not resolve hostname myhost: nodename nor servname provided, or
> not known

Something to do with your .ssh/config maybe?
--
Brian May <br...@linuxpenguins.xyz>
https://linuxpenguins.xyz/brian/
Reply all
Reply to author
Forward
0 new messages