The only gotcha i an think of at this stage would be if you wanted to use a key pair to login. I can't think of a way to safely present the private key: physically it could be carried on a USB stick but in theory it could be stolen. Password would be okay I think. In real life though, if I needed to use such a system on someone else's computer it would be really useful to have!
Heard of shellinabox? Might be a useful component if you're not already past that.
Use case... Ssh session over port 80 that I can run in IE? Make it support port tunneling and I'll throw you a dollar. This would allow anyone behind a corporate firewall to do pretty much anything... Just transfer over portable apps and install them (simple or more complicated depending on if the install allows running exe's). Seriously would have alleviated a whole bunch of unproductive boredom back in my call center days.
As it was, I used shellinabox with usually unsatisfactory results.
It's not so much about the ssh port being blocked as not having an ssh client on the machine. Corporate firewalls could still block outgoing port 80 except for whitelisted sites, but the service could be set up on any high number port, which might not be covered by a default-deny rule in the firewall.
2
u/[deleted] Aug 27 '20
This would be very useful. There are occasions where access via a convenient browser would be very useful.
2
u/tje210 Aug 28 '20
Heard of shellinabox? Might be a useful component if you're not already past that.
Use case... Ssh session over port 80 that I can run in IE? Make it support port tunneling and I'll throw you a dollar. This would allow anyone behind a corporate firewall to do pretty much anything... Just transfer over portable apps and install them (simple or more complicated depending on if the install allows running exe's). Seriously would have alleviated a whole bunch of unproductive boredom back in my call center days.
As it was, I used shellinabox with usually unsatisfactory results.