SSH password-less between all of the nodes
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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.
ssh
 |Â
show 1 more comment
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.
ssh
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 enablePubkeyAuthentication
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
 |Â
show 1 more comment
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.
ssh
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.
ssh
asked Jun 5 at 13:31
![](https://i.stack.imgur.com/18VEA.jpg?s=32&g=1)
![](https://i.stack.imgur.com/18VEA.jpg?s=32&g=1)
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 enablePubkeyAuthentication
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
 |Â
show 1 more comment
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 enablePubkeyAuthentication
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
 |Â
show 1 more comment
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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