SSH password-less between all of the nodes

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I set up passwordless ssh between 3 nodes. node1 can ssh to other without the password but 2 other nodes need to password for ssh to node1. How to fix it? I wanna make ssh connection between all of the nodes together without the need to pass.







share|improve this question



















  • So there is something different between the setups on the different nodes - it's unlikely anyone will be able to guess what based on the information in your question
    – steeldriver
    Jun 5 at 13:49










  • I just do these in node1: ssh-keygen -t rsa -P "" cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys chmod 0600 ~/.ssh/authorized_keys sudo ssh-copy-id -i ~/.ssh/id_rsa.pub node2@node2 and I don't change sshd_config file.
    – ParisaN
    Jun 5 at 14:07










  • did you enable PubkeyAuthentication in /etc/ssh/sshd_config ?
    – RoVo
    Jun 5 at 14:08











  • @RoVo, I checked this. it is enabled by "yes"
    – ParisaN
    Jun 5 at 14:10







  • 1




    did you do the same also from node2 and node3 to node1 ?
    – RoVo
    Jun 5 at 14:22














up vote
0
down vote

favorite












I set up passwordless ssh between 3 nodes. node1 can ssh to other without the password but 2 other nodes need to password for ssh to node1. How to fix it? I wanna make ssh connection between all of the nodes together without the need to pass.







share|improve this question



















  • So there is something different between the setups on the different nodes - it's unlikely anyone will be able to guess what based on the information in your question
    – steeldriver
    Jun 5 at 13:49










  • I just do these in node1: ssh-keygen -t rsa -P "" cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys chmod 0600 ~/.ssh/authorized_keys sudo ssh-copy-id -i ~/.ssh/id_rsa.pub node2@node2 and I don't change sshd_config file.
    – ParisaN
    Jun 5 at 14:07










  • did you enable PubkeyAuthentication in /etc/ssh/sshd_config ?
    – RoVo
    Jun 5 at 14:08











  • @RoVo, I checked this. it is enabled by "yes"
    – ParisaN
    Jun 5 at 14:10







  • 1




    did you do the same also from node2 and node3 to node1 ?
    – RoVo
    Jun 5 at 14:22












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I set up passwordless ssh between 3 nodes. node1 can ssh to other without the password but 2 other nodes need to password for ssh to node1. How to fix it? I wanna make ssh connection between all of the nodes together without the need to pass.







share|improve this question











I set up passwordless ssh between 3 nodes. node1 can ssh to other without the password but 2 other nodes need to password for ssh to node1. How to fix it? I wanna make ssh connection between all of the nodes together without the need to pass.









share|improve this question










share|improve this question




share|improve this question









asked Jun 5 at 13:31









ParisaN

1127




1127











  • So there is something different between the setups on the different nodes - it's unlikely anyone will be able to guess what based on the information in your question
    – steeldriver
    Jun 5 at 13:49










  • I just do these in node1: ssh-keygen -t rsa -P "" cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys chmod 0600 ~/.ssh/authorized_keys sudo ssh-copy-id -i ~/.ssh/id_rsa.pub node2@node2 and I don't change sshd_config file.
    – ParisaN
    Jun 5 at 14:07










  • did you enable PubkeyAuthentication in /etc/ssh/sshd_config ?
    – RoVo
    Jun 5 at 14:08











  • @RoVo, I checked this. it is enabled by "yes"
    – ParisaN
    Jun 5 at 14:10







  • 1




    did you do the same also from node2 and node3 to node1 ?
    – RoVo
    Jun 5 at 14:22
















  • So there is something different between the setups on the different nodes - it's unlikely anyone will be able to guess what based on the information in your question
    – steeldriver
    Jun 5 at 13:49










  • I just do these in node1: ssh-keygen -t rsa -P "" cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys chmod 0600 ~/.ssh/authorized_keys sudo ssh-copy-id -i ~/.ssh/id_rsa.pub node2@node2 and I don't change sshd_config file.
    – ParisaN
    Jun 5 at 14:07










  • did you enable PubkeyAuthentication in /etc/ssh/sshd_config ?
    – RoVo
    Jun 5 at 14:08











  • @RoVo, I checked this. it is enabled by "yes"
    – ParisaN
    Jun 5 at 14:10







  • 1




    did you do the same also from node2 and node3 to node1 ?
    – RoVo
    Jun 5 at 14:22















So there is something different between the setups on the different nodes - it's unlikely anyone will be able to guess what based on the information in your question
– steeldriver
Jun 5 at 13:49




So there is something different between the setups on the different nodes - it's unlikely anyone will be able to guess what based on the information in your question
– steeldriver
Jun 5 at 13:49












I just do these in node1: ssh-keygen -t rsa -P "" cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys chmod 0600 ~/.ssh/authorized_keys sudo ssh-copy-id -i ~/.ssh/id_rsa.pub node2@node2 and I don't change sshd_config file.
– ParisaN
Jun 5 at 14:07




I just do these in node1: ssh-keygen -t rsa -P "" cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys chmod 0600 ~/.ssh/authorized_keys sudo ssh-copy-id -i ~/.ssh/id_rsa.pub node2@node2 and I don't change sshd_config file.
– ParisaN
Jun 5 at 14:07












did you enable PubkeyAuthentication in /etc/ssh/sshd_config ?
– RoVo
Jun 5 at 14:08





did you enable PubkeyAuthentication in /etc/ssh/sshd_config ?
– RoVo
Jun 5 at 14:08













@RoVo, I checked this. it is enabled by "yes"
– ParisaN
Jun 5 at 14:10





@RoVo, I checked this. it is enabled by "yes"
– ParisaN
Jun 5 at 14:10





1




1




did you do the same also from node2 and node3 to node1 ?
– RoVo
Jun 5 at 14:22




did you do the same also from node2 and node3 to node1 ?
– RoVo
Jun 5 at 14:22















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1043811%2fssh-password-less-between-all-of-the-nodes%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1043811%2fssh-password-less-between-all-of-the-nodes%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491