Sunday, 12 January 2025

setup ssh

 setup ssh

++++++++++

on Node1:

---------

mkdir $HOME/.ssh


ssh-keygen -t rsa


copy content of id_rsa.pub to authorized_keys on other (node2) server



on Node2:

---------

and do the same on node2



mkdir $HOME/.ssh


ssh-keygen -t rsa


copy content of id_rsa.pub to authorized_keys on other (node1) server 


No comments:

Post a Comment