[NTLUG:Discuss] Shell from a webpage

brian@pongonova.net brian at pongonova.net
Mon Oct 24 16:57:23 CDT 2005


How about an SSH tunnel?  Redirect port 80 to port 22 on the server
machine, then do an SSH connect to your remote machine via port 80.

We've done this on contracting gigs where the client has insanely
locked down outbound ports.

  --Brian

On Mon, Oct 24, 2005 at 02:13:36PM -0500, Mark Hanna wrote:
> This method will not work if I am at a location that for whatever reason has port 22 is blocked and port 80 is open.  This would also require my local machine I am "web browsing" from be a M$ Windows machine, unless I want to host putty version for differnt hw architectures.  
>  
> Having a shell from within a browser makes for a more local platform neutral solution.
>  
>  
> 
> ________________________________
> 
> From: discuss-bounces at ntlug.org on behalf of Jay Urish
> Sent: Mon 10/24/2005 12:55 PM
> To: NTLUG Discussion List
> Subject: Re: [NTLUG:Discuss] Shell from a webpage
> 
> 
> 
> Simple..
> Put a copy of Putty on your website. If you are at someother side, you
> just launch the URL to Putty and instead of saving it, you run it. SSH
> in as normal.. I did it that way a bunch when I was in Norway..
> 
> 
> Mark Hanna wrote:
> > can anyone recommend a method where I have a command prompt/shell on a server from a webpage?
> > 
> > In other words, I want to access a bash shell on my linux webserver remotely through a webpage
> > 
> > 
> > Super dangerous without security, yes I know
> > Still dangerous with security, yes I know
> > 
> > 
> > I don't think I've ever seen this, and I'm kinda surprised I haven't before now.
> 
> 
> --
> Jay Urish       Systems Engineer
> Unixwolf Enterprises LLC.
> http://www.unixwolf.net
> 972.691.0125    972.965.6229
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
> 
> 
> 

> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss





More information about the Discuss mailing list