For some reason that I was not able to decipher after a quick search, there is extra information in the SHH connection related environment variables on the tablet:
While there is an easy (ugly) fix I used on my end:
root@reMarkable:~# echo $SSH_CONNECTION | cut -d" " -f3 | cut -d":" -f4
10.11.99.1
# still works with the old format
root@reMarkable:~# echo "10.11.99.1" | cut -d":" -f4
10.11.99.1
I don't like it enough to propose it as a solution.
For some reason that I was not able to decipher after a quick search, there is extra information in the SHH connection related environment variables on the tablet:
While there is an easy (ugly) fix I used on my end:
I don't like it enough to propose it as a solution.