Regardless, I think it's a neat idea. I'm no security expert, by any stretch.
Thanks for the utility!
Regardless, I think it's a neat idea. I'm no security expert, by any stretch.
Thanks for the utility!
But absolutely, it isn't like you've left an open door into your computer.
I, and pretty much every hacker I know, have some machine they can SSH to on the internet, somewhere. The only added risk is exposing your laptop to an attack against the SSH daemon, which involves either weak passwords, weak/unsecured keys, or an SSH server vulnerability. The first two are easily mitigated. The third is incredibly infrequent, and when it does happen, you've got bigger problems to worry about.
Almost all SSH attacks target port 22, not a random high port, so you're unlikely to even see connections to that tunnel in the first place.
Finally, you don't even need to trust the remote machine, since SSH will authenticate the laptop's host key through the tunnel. MITM attacks are possible against SSHv1, but pretty much everyone is on v2 these days.
I suppose the increased risk is small, and probably nothing to worry about. Cheers!
It's a security feature against low-tech threats.