Re:An SSH server that knows who you are
by zamadatix on Sunday February 16, 2020 @10:44PM
(#22345436)
I'm not sure I follow, induce what to open an ssh connection? If you mean the service in question (whoami.filippo.io) it is opening an ssh connection it just displays a message and closes instead of authenticating you and dropping you into a shell. If you mean launch an ssh session from a machine to something in general then yes you have to be able to execute programs on the machine as that's all an ssh client is - another program.
[ Parent
| on HN ]
Re:An SSH server that knows who you are
by tedunangst on Sunday February 16, 2020 @10:56PM
(#22345487)
I think the question is if it's possible to add <img src=ssh://> to a webpage and have something dumb happen.
Re:An SSH server that knows who you are
by peteretep on Sunday February 16, 2020 @11:04PM
(#22345518)
Exactly that, and I'm reasonably sure the answer is no.
Re:An SSH server that knows who you are
by jrockway on Sunday February 16, 2020 @11:27PM
(#22345605)
I am sure there is some setup where that will work. Set a URL handler to open Emacs, format the filename as a TRAMP path, something like that. There are plenty of things that try to transparently SSH places, and I'm sure someone has accidentally hooked that into their browser.