Presently I’m utilizing a Home windows VM in order that I can use PUTTY to SSH into a tool that’s linked by a USB port to my MAC. This works tremendous. Nonetheless, I’m unable to SSH into the gadget on MacOS by iterm2 – I believe that it’s as a result of the community settings aren’t what they’re presupposed to be. Once I plug the gadget into my thunderbolt adapter on my Mac and run my Home windows VM the gadget exhibits up completely tremendous and creates a brand new community in Home windows:
Nonetheless, on MacOS Thunderbolt bridge appears to be caught on "inactive": (ignore the subnet masks mismatch, I’ve tried with 255.255.0.0 too)
Checking the MAC handle of the Thunderbolt Bridge and searching on the settings in ifconfig:
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
choices=63<RXCSUM,TXCSUM,TSO4,TSO6>
ether e2:74:33:e3:a6:c1
inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
inet6 fe80::14a7:af36:419d:645cpercentbridge0 prefixlen 64 secured scopeid 0xd
Configuration:
id 0:0:0:0:0:0 precedence 0 hellotime 0 fwddelay 0
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
root id 0:0:0:0:0:0 precedence 0 ifcost 0 port 0
ipfilter disabled flags 0x0
member: en3 flags=3<LEARNING,DISCOVER>
ifmaxaddr 0 port 11 precedence 0 path price 0
member: en4 flags=3<LEARNING,DISCOVER>
ifmaxaddr 0 port 12 precedence 0 path price 0
member: en12 flags=3<LEARNING,DISCOVER>
ifmaxaddr 0 port 10 precedence 0 path price 0
member: en13 flags=3<LEARNING,DISCOVER>
ifmaxaddr 0 port 9 precedence 0 path price 0
nd6 choices=201<PERFORMNUD,DAD>
media: <unknown sort>
standing: inactive
That is clearly a software program problem because the port works tremendous within the Home windows VM however for some motive networking appears to be much more sophisticated on Mac.
How do I replicate the Home windows habits on MacOS? I need the wifi linked to the web, and I need a separate LAN connection by the USB cable to my gadget in order that I can ssh into it. The gadget shouldn’t be linked to the web.
My .ssh/config file:
Host inst
HostName 192.168.137.2
BindInterface bridge0
Person testuser
IdentityFile ~/.ssh/id_rsa_testuser
Port 22
IdentitiesOnly=sure
$ssh -vvv inst
OpenSSH_8.1p1, LibreSSL 2.7.3
debug1: Studying configuration information /Customers/westman/.ssh/config
debug1: /Customers/westman/.ssh/config line 7: Making use of choices for inst
debug1: Studying configuration information /and so on/ssh/ssh_config
debug1: /and so on/ssh/ssh_config line 54: Making use of choices for *
debug2: resolve_canonicalize: hostname 192.168.137.2 is handle
debug2: ssh_connect_direct
debug1: Connecting to 192.168.137.2 [192.168.137.2] port 22.
debug1: ssh_create_socket: certain to 192.168.2.1
debug1: join to handle 192.168.137.2 port 22: Operation timed out
ssh: connect with host 192.168.137.2 port 22: Operation timed out