Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Need help SSH to my rigs located at an another location.

    Mining
    2
    4
    1063
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      svennand Regular Member last edited by

      Hi.
      My plan is to have rigs at more than one location.
      Due to heat/circuit breaker size i need to “rent” spaces with friends.

      But how am i able connect with a certain rig. SSH use port 22. which means when i write ssh -l username xx.xx.xx.xx where xx = external ip
      the router do not know which internal 192.168.1.x rig to get the request.

      1 Reply Last reply Reply Quote 0
      • S
        sheepson Regular Member last edited by

        Then you should host a small windows VM or something. Connect to that vm and manage your rigs from that machine.
        Or create a VPN. Or let change the SSH port per host ;)

        1 Reply Last reply Reply Quote 0
        • S
          svennand Regular Member last edited by

          [quote name=“sheepson” post=“18821” timestamp=“1372591819”]
          Then you should host a small windows VM or something. Connect to that vm and manage your rigs from that machine.
          Or create a VPN. Or let change the SSH port per host ;)
          [/quote]

          I have port forwarding on another port on each rig for api sending.
          When i try to use this port it still doesnt work.

          ssh 83.243.230.xxx -p 400x

          message: ssh_exchange_identification: Connection closed by remote host

          Have no problem using ssh when both machines are on local network.

          EDIT:
          runned the command verbose and got this:

          Svenn-andres-MacBook-Pro:~ fuzzywolf$ ssh -v fuzzy5@83.243.230.xxx -p 4006
          OpenSSH_5.9p1, OpenSSL 0.9.8x 10 May 2012
          debug1: Reading configuration data /etc/ssh_config
          debug1: /etc/ssh_config line 20: Applying options for *
          debug1: /etc/ssh_config line 53: Applying options for *
          debug1: Connecting to 83.243.230.xxx [83.243.230.xxx] port 4006.
          debug1: Connection established.
          debug1: identity file /Users/fuzzywolf/.ssh/id_rsa type -1
          debug1: identity file /Users/fuzzywolf/.ssh/id_rsa-cert type -1
          debug1: identity file /Users/fuzzywolf/.ssh/id_dsa type -1
          debug1: identity file /Users/fuzzywolf/.ssh/id_dsa-cert type -1
          ssh_exchange_identification: Connection closed by remote host

          Seems to get connection but fail in the certificat key part.

          1 Reply Last reply Reply Quote 0
          • S
            svennand Regular Member last edited by

            Think maybe i have found a solution, will test when i get back home.
            Really sucks to watch my api monitor and looking at 5x7950 card idling…

            1 Reply Last reply Reply Quote 0
            • First post
              Last post