On Thu, Oct 04, 2012 at 03:16:51PM +0100, Chris Green wrote:
The Ubuntu machine on the boat runs apache and I want to be able to browse its web pages from home. So I want to 'export' port 80 from the machine on the boat in the same way as I export port 22 for ssh. However I'd like to be able to export it direct to my desktop machine, which entails having a public-key/no passphrase login so I want to make it so that login won't allow anything except the ssh reverse tunnel.
You can write options into the authorized_keys on the server end and limit what the client can do from there, no idea if it will allow you to do what you want.
man sshd and search for AUTHORIZED_KEYS
Adam