Ssh

back to http://scratchpad.wikia.com/wiki/Sasecurity

TableOfContents

SSH connection
{{{

We have a gateway node with 2mb 1:1, this node (gateway1) seams to be acting up! the ssh commands are very slow at times sometimes never conecting,(this via a public address) if I try running a leechtest, the node reports slow speeds at times.

If I ssh via another gateway (gateway2) and connect to a repeater node between the two gateways and run a leechtest I get full speed (yes the repeater is fixed/locked to gateway1) gateway2 is only strong enough to ssh by, and not provide BW.

Gateway node 1 is a LW box Via mini atx etc, temp is always under 20c so I don't think the fans are packing up, and this slowness can happen even when there is very little usage.

=
==================== web browser via ssh

ssh -L 80:192.168.1.254:81 1.2.3.4 Which will allow you to access the web server of 192.168.1.254 via an ssh tunnel to 1.2.3.4 (which can presumably access 192.168.1.254 directly). You access the server by pointing your browser to http://127.0.0.1:81

=
================= WEBBROWSER VIA SSH

OK, this is what I need to do. I'm testing wtr54gs, and would like to have remote access to them via the mesh box. I have two mesh networks over 80 square miles. I can vpn to the main gateway nodes and access clients of the back of the GW's, but I can not VPN to the Host mapped address's of the repeater nodes from ether host mapped LAN address or WAN address, the host mapped address work fine for ssh.

=
=========

vpn directly to a wireles node wont work past the gateway unless you nuse the qorvus code because then standard locustworld code blocks gre 47 pptp traffic past the gateway. But you shouldnt need hsotmap if yu just remotly vpn into gateway and then surf to the 1. address for the wireles nodes, or maybe i dont understand what yoiur trying to do?

=
============================= web browser via ssh Great Tim, that works for local connections but I can not get it to work over host mapped routes. vpn is the way to do this. set up your gateway to act aas vpn host th you can surf tothe 1.1.1.1 addresses behinf the gateway. thisis how e manage our  qorvus boxes remotely.

=
===================== WEB BROWSER VIA SSH Great Tim, that works for local connections but I can not get it to work over host mapped routes. ANSW: vpn is the way to do this. set up your gateway to act aas vpn host th you can surf tothe 1.1.1.1 addresses behinf the gateway. thisis how e manage our qorvus boxes remotely.

=
= Ques: This may work fine with a linux desktop but wouldn't work with a windows machine running putty, no socket betwee the browser and the putty seesion

Answ: However, since everyone (presumably) has access to a meshbox, you could set the tunnel up on your local meshbox, and then connect to the relevant port on your local meshbox which will forward it through to the remote meshbox. You can run tunnels within tunnels if you need to.

=
}}}