This is how things are by default. I did not set anything up. My
debian server has a network connection on
eno2 with ip
192.168.1.40. Internet, sshd, Everything works fine.
Now I’ve added a second connection to
eno4. It’s a direct link (no router or switch) to another computer for management purposes. Let’s call this one client. On the client, this automatically showed up as
10.0.0.2. I can ping from the client.
On the server, there was no ip address assigned. But I could netcat from the client just fine, because I only needed the client ip address.
$ echo "Some big ZFS pool here" | nc -l -p 5555
$ nc -w 10 10.0.0.2 5555 | cat Some big ZFS pool here
Now I want to connect to sshd on the server using this connection.
However, connection is refused. I can connect via LAN and internet over the default
192.168.1.40 connection just fine. Just not over this direct link.
sshd listens to all incoming connections on all interfaces. Perhaps
eno4 just needs an IPv4 address. So I did:
$ sudo ip addr add 10.0.0.1/8 dev eno4 $ ip addr show eno4 5: eno4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 0a:a5:6a:1b:a2:22 brd ff:ff:ff:ff:ff:ff inet 10.0.0.1/8 scope global eno4 valid_lft forever preferred_lft forever
I can ping
10.0.0.1 from the server. I can netcat. However, I can not ssh.
There are a lot of long long reads with a lot of work addressing all kinds of routing tables and stuff on the web. I’d probably spend the entire day trying it out. But is it really that complex? I can ping. I can netcat. What is the absolute simplest way to get
sshd to listen to this interface? Might even be temporary, so I can get stuff done now?
And, optionally, what is a better permanent solution?
sshd is already supposedly listening to everything, and I don’t want it to stop listening. I’d prefer not to change the sshd configuration or even restarting sshd, because the server is in active use.
✓ Extra quality
ExtraProxies brings the best proxy quality for you with our private and reliable proxies
✓ Extra anonymity
Top level of anonymity and 100% safe proxies – this is what you get with every proxy package
✓ Extra speed
1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!
USA proxy location
We offer premium quality USA private proxies – the most essential proxies you can ever want from USA
Our proxies have TOP level of anonymity + Elite quality, so you are always safe and secure with your proxies
Use your proxies as much as you want – we have no limits for data transfer and bandwidth, unlimited usage!
Superb fast proxy servers with 1,000 mb/s speed – sit back and enjoy your lightning fast private proxies!
99,9% servers uptime
Alive and working proxies all the time – we are taking care of our servers so you can use them without any problems
No usage restrictions
You have freedom to use your proxies with every software, browser or website you want without restrictions
Perfect for SEO
We are 100% friendly with all SEO tasks as well as internet marketing – feel the power with our proxies
Buy more proxies and get better price – we offer various proxy packages with great deals and discounts
We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!