Using SSH and a web browser, I want to securely connect to a webpage under www.example.com, which I own. I understand this can also be accomplished with the Secure Server option (via SSL/HTTPS) but I am not interested in that option.
For example, a login page will eventually exist at www.example.com/login.html. The connection between my home computer and that login page should be encrypted so that my username/password are not sent as clear text.
Is this the correct SSH command to accomplish this task?
then in a web browser: http://localhost:8888/
If that is the correct command, SSH is returning this error when going to http://localhost:8888/ in a web browser:
I tried several variations of that command and each returns the same error:
ssh -L 8888:127.0.0.1:80 firstname.lastname@example.org
I can successfully plain-old-SSH in from behind a home router and using Mac OS X 10.6.4 with firewall enabled.
Any recommendations on how to make this work? Does Dreamhost not support this feature?