Re: router access through ssh



Nico Kadel-Garcia wrote:
new guy wrote:
Any info please on how to use ssh in order to access my router?
I can access it through my web browser but I would like to access the
router from the command prompt.

Any help will be appreciated!

new guy:)

You'll have to look up the router's manual pages and documentation. Not that
many routers support SSH: the ability to do the session key management takes
some resources that the designers may not want to allocate to the management
tools, and some serious support time to build, although it's gotten more
common.

But think carefully about how you do this, as you would for any secure
service. Access to SSH should be limited to trusted hosts, and should
probably use a private key that is secured and distinct from any other key
in use, to avoid people stealing one key or getting it from an active
ssh-agent session and getting access to your router as well as to other
systems. And I'd avoid SSH access from anywhere outside your own local,
physical network: routers are too important to your security to leave
configurable from elsewhere if you don't *have* to.



You can always disable WAN access to the router's config page, and
forward a port on a machine in the LAN back to the router. This is how I
access my router from outside the LAN.
.



Relevant Pages

  • Re: [opensuse] ssh problem from remote LAN
    ... Set up a SLES 10 server and although I can ssh to it from any box on the ... local LAN I can't get to it from a remote LAN even though I can ssh to any ... But, if the router is providing NAT for the LAN, then it doesn't make sense that it would be able to configure port forwarding of an incoming ssh requrest to multiple clients behing the router. ... My initial thoughts on the problem were a misconfigured /etc/ssh/sshd_conf; a non-running sshd on the SLES machine; or a problem with the ...
    (SuSE)
  • Re: LINKSYS - WRT54GS Problems, Cant access the internet via LAN
    ... PS On your main config screen, a little ways down is the field "DHCP Server" ... to do is to connect my exisiting LAN into the WAN port of the router ... and then connect my pc to one of the LAN ports of the router. ...
    (alt.internet.wireless)
  • Re: Safest way of accessing a home computer from outside?
    ... what if I my router doesent have a public IP ... I agree - ssh with no password and then use certificates to ... use for ssh is forwarded to your ssh server. ... You can find Hamachi at ...
    (Fedora)
  • Re: Safest way of accessing a home computer from outside?
    ... what if I my router doesent have a public IP ... use for ssh is forwarded to your ssh server. ... You can find Hamachi at ...
    (Fedora)
  • Re: ssh: No route to host
    ... >by NAT config, but I assume you mean that I'm pinging the router but not ... you have ssh server that has a private ... Therefore, if you have several ssh serveurs in your LAN, you need them ...
    (Debian-User)