Need help SSH to my rigs located at an another location.
-
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. -
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 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 hostSeems to get connection but fail in the certificat key part.
-
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…