I’m trying to get ssh running on my vyos router. But everytime i try to connect, i get an connection refused error.
The first problem was i wasn’t able to bind the ssh service to an vif interface. So i have to set
sudo sysctl -w net.ipv4.ip_nonlocal_bind=1
After that i was able to set the address to this interface eth3.1606 and the ssh service was comming up and is listening on this address…
vyos@VyOS-SPOKE-01:~$ netstat -tulpn | grep 22
(No info could be read for “-p”: geteuid()=1003 but you should be root.)
tcp 0 0 10.2.140.1:22 0.0.0.0:* LISTEN -
And then if i’m trying to get a connection on this interface i will get a connection refused.
With tcpdump port 22 i don’t see any connections
Edit: i’m currently running 1.3-rolling-202004220702
Maybe anyone of you have a hint for me