Hi All, I am wanting to log-in remotely from my university campus to my home machine connected behind a router. In the previous thread, answered by Thad (thanks for this), I learnt that port-forwarded needs to be enabled on the router ... done :-)
Now, my only problem is how to use ssh is such a way that it will accept a username and password in order to authenticate myself to get through my universities proxy server.
I am guessing something of the like:
ssh --http-username=tony --http-password=***** tony@my-modem-ip-address
I had a look through the ssh man page but didn't see anything that stuck out. So my guess was then that a global proxy username and password file may need to be created ... or something of the like.
Was wondering if someone might be able to shed some light on this for me please.
Cheers, Tony Crouch
On 06-May-2006 16:01.00 (BST), Tony Crouch wrote:
Now, my only problem is how to use ssh is such a way that it will accept a username and password in order to authenticate myself to get through my universities proxy server.
[snip]
ssh --http-username=tony --http-password=***** tony@my-modem-ip-address
ssh doesn't support http proxies. SOCKS, but not http.
Tony Crouch wrote:
Hi All, I am wanting to log-in remotely from my university campus to my home machine connected behind a router. In the previous thread, answered by Thad (thanks for this), I learnt that port-forwarded needs to be enabled on the router ... done :-)
Now, my only problem is how to use ssh is such a way that it will accept a username and password in order to authenticate myself to get through my universities proxy server.
I am guessing something of the like:
ssh --http-username=tony --http-password=***** tony@my-modem-ip-address
I had a look through the ssh man page but didn't see anything that stuck out. So my guess was then that a global proxy username and password file may need to be created ... or something of the like.
Was wondering if someone might be able to shed some light on this for me please.
This is something I'd like to do too, but since someone else has said it's not possible to proxy SSH using http here's what I do instead:
Have an account on a machine that does have a public IP address and which you can SSH into. SSH into that machine, forwarding port 22 on an unused local loopback device to port 22 on your home machine/ routers public address. Now SSH to the loopback address on your local machine.
Forwarding samba over this connection is left as an exercise for the reader.
Tony Crouch wrote:
Hi All, I am wanting to log-in remotely from my university campus to my home machine connected behind a router. In the previous thread, answered by Thad (thanks for this), I learnt that port-forwarded needs to be enabled on the router ... done :-)
Now, my only problem is how to use ssh is such a way that it will accept a username and password in order to authenticate myself to get through my universities proxy server.
I am guessing something of the like:
ssh --http-username=tony --http-password=***** tony@my-modem-ip-address
I had a look through the ssh man page but didn't see anything that stuck out. So my guess was then that a global proxy username and password file may need to be created ... or something of the like.
Was wondering if someone might be able to shed some light on this for me please.
Cheers, Tony Crouch
I just got an email from Mathias De Belder suggesting using SSH's ProxyCommand (man ssh_config) with a wrapper program called Corkscrew, url:http://www.agroman.net/corkscrew/.
Tony Crouch acrouch2@une.edu.au writes:
Now, my only problem is how to use ssh is such a way that it will accept a username and password in order to authenticate myself to get through my universities proxy server.
Is it possible to reach secure web sites (HTTPS) from the university? Then you might be able to run the SSH server on the HTTPS port (443), and instruct the SSH client to connect to this port instead.
My theory why this might work is that the connection is encrypted and cannot be understood by the proxy, which could force it to just let it through.
Regards Ingemar