- This topic has 0 replies, 1 voice, and was last updated 2 years, 3 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Home › Forums › FABRIC General Questions and Discussion › How to ssh from one node to another in same site or in different sites
Tagged: permission denied, publickey, ssh
Hello
My setup is simple. I have one site and in that site I have two nodes (node1 and node2) with shared NIC in it and these NICs are connected to form a network. From my laptop I can ssh into node1 and node2. If I am inside node1 suppose then i cannot ssh into node2 from it, the vice versa is also true. The error I got is:
The authenticity of host ‘<IP>’ can’t be established.
Warning: Permanently added ‘<IP>’ (ECDSA) to the list of known hosts.
<IP>: Permission denied (publickey).
It is a key error, but which key to use. How to import that key into this environment, if it is Bastion or slice key. As I cannot access those keys from this environment i.e. inside the node1/node2.
Now suppose I have two sites each with two nodes. How to ssh from one site node to another site node, is the procedure similar to the solution of the above one?
If any of you know the solution, please provide it.
Thank you.