Do you seriously ssh to raw IPv4 addresses? Everywhere I ssh to (including my home server) has a DNS address and that's how I connect to it.
Re:My ISP Is Killing My Idle SSH Sessions
by Mediterraneo10 on Tuesday January 12, 2021 @06:05AM
(#25745221)
Whenever I have got a new Raspberry Pi or PinePhone and connect it to the home network, I always SSH to the raw IP first. (Sure, at some point I’ll configure the router’s DHCP settings to ensure the new device gets a stable IP address, and then I can just use an SSH alias.) I would imagine that this is a very common use case.
I got a new NAS last week and only ever sshed to [hostname].local. Didn't have to configure my router at all. Come to think of it I don't even know (or care) whether I was SSHing via IPv4 or IPv6.
Any decent home router will automatically add the hostname of all DHCP(v6)-configured devices to its DNS service. You shouldn't need raw addresses at all.
I have not seen any routers that do it, my ubiquity amplifi router certainly does not do that.
That's very strange given that every cheapo ISP router I've had does that. How did you confirm that it doesn't?
I don’t know about him, but I do, quite frequently.
I use https://dns.he.net, with an hourly cron job that runs 'curl' to keep the address updated.
I think this is a legitimate downside of IPv6, but a small one in the big scheme of things. Considering in a world of IPv4, most people don't get to have an IP address at all...
Re:My ISP Is Killing My Idle SSH Sessions
by xaduha on Tuesday January 12, 2021 @01:09AM
(#25742992)
Zeroconf for local networks, free dyndns for public addresses.
Re:My ISP Is Killing My Idle SSH Sessions
by fulafel on Wednesday January 13, 2021 @12:47AM
(#25758671)
Isn't this a bit dramatic, sounds more like an excuse than a legit reason to stay off v6. It happens extremely rarely and there's only 4x the amount of bits in a IPv6 address so it's not an insurmountable task, and nothing prevents you from concurrently using rfc1918 v4 addresses on a home network.
Re:My ISP Is Killing My Idle SSH Sessions
by dboreham on Monday January 11, 2021 @08:16PM
(#25740988)
If this is a concern you can assign easy to type addresses such as 2001:1868:a106:101::120
I'll keep my IPv4 thank you very much.