You are not logged in.
Pages: 1
Hi.
I have the following problem: I need to access certain internal html pages from a webserver, which denies access with my ip, but I got an ssh account for a computer able to access the http server.
Do you know any way to access these pages with a browser? (I need to post data, etc..).
cmp
Offline
You can map the remote-port via ssh to a local-port and you can browse at localhost:8080 for example:
ssh -C -L 8080:<webserver>:80 <loginserver> -l <user>
Offline
for example: If I wanted to browse google I'd use
ssh -C -L 8080:www.google.de:80 my_sshserver.org -l cmp ?
Offline
Worst case scenario you could always wget the pages you need to browse to the ssh account, and then bring those pages to your machine and browse them locally.
Offline
I thought about it, but the pages need cookie-based authentication, so I would need to send / save cookies and post data. and that all by commandline is a royal pain.
Offline
I thought about it, but the pages need cookie-based authentication, so I would need to send / save cookies and post data. and that all by commandline is a royal pain.
Have you tried looking at an application called cURL?. It has a cookie parsing engine.
Offline
Pages: 1