| Linode Forum https://forum.linode.com/ |
|
| SOLVED: Can't ssh from node to node: https://forum.linode.com/viewtopic.php?f=19&t=6169 |
Page 1 of 1 |
| Author: | kannary100 [ Sun Oct 24, 2010 10:26 am ] |
| Post subject: | SOLVED: Can't ssh from node to node: |
Hello: NOTE: This is not an "Aegir" post, just giving some background in case it matters. Background: Setting up Aegir with remote server. Master is set in 1st node, remote server is set in 2nd node. This is my DEV version and I am using one domain for the 1st node, a second domain for the 2nd second node. Initially I had only one node set up with static IP with two IP's (one for the main site, another for the second site/client site), each with its own domain. This worked just fine. Then I decided that for my business it was best to have the main aegir set up in the 1st node, then run the rest of the sites in separate nodes as remote servers (one per client), so each client gets his/her own node. So the steps I took to get back to square 1: 1) Got a new Linode. (2nd node & 2nd domain that will be remote server for client) 2) Delete the second IP I had set up in the 1st node, since it is not longer needed. 3) Reverted the 1st node to DCHP instead of static IP, thus bringing it back to its original state when it was originally purchased. 4) Delete the old DNS configuration for the second IP & domain and created a new one for the new node using the new node's IP and the 2nd domain. The Issue: Now, Aegir configuration aside, the problem I have is that I cannot seem to be able to SSH from one node to another. I can SSH to each node individually from my local computer no problem, BUT I cannot ssh from one node to another. Every time I do, I get this error: In 1st node shell I try: # ssh root@XXX.XXX.XXX.XXX ssh: connect to host XXX.XXX.XXX.XXX port 22: No route to host I check by doing netstat -an | grep "LISTEN " on my 2nd node and I see port 22 is open (Don't mind 80 is closed, part of the Aegir installation): tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN tcp6 0 0 :::22 :::* LISTEN So why can't I login to the 2nd node from the 1st node? Any ideas? I know I missing something, but cannot find what that is. Thanks |
|
| Author: | db3l [ Sun Oct 24, 2010 7:21 pm ] |
| Post subject: | |
It's telling you that your source host (where you run the ssh) literally knows no way to reach the address you gave it. This is pretty much guaranteed to be independent of any applications involved. It's tough to offer concrete suggestions without the actual addresses involved, but a few thoughts:
If none of this helps, it'll probably be necessary to know some concrete details for the interfaces and addresses involved. -- David |
|
| Author: | kannary100 [ Sun Oct 24, 2010 9:55 pm ] |
| Post subject: | |
SOLVED: Thanks yo your post I noticed something that I had not noticed before. Pining the 2nd node gave me a failure BUT the ip that showed up was the OLD 2nd IP from the 1st node (the one I had deleted). That told me the changes I had made to revert to DCHP had not taken place. Restarting the node fix the issue. Thank you very much for the help. [/list] |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|