passwordless ssh in rhel6

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
During setting up passwordless ssh in rhel6 when it asks for password of other machine/instance after this command:
ssh -p29 machinename@ipaddress mkdir .ssh
(PS: I use a custom port: 29)
Then it asks for machine password, which I enter. Again it asks for password, and then it says disconnected due too many authentication failures.
What should I do? I have tried changing password and then entering it says same.
shell ssh rhel
add a comment |Â
up vote
0
down vote
favorite
During setting up passwordless ssh in rhel6 when it asks for password of other machine/instance after this command:
ssh -p29 machinename@ipaddress mkdir .ssh
(PS: I use a custom port: 29)
Then it asks for machine password, which I enter. Again it asks for password, and then it says disconnected due too many authentication failures.
What should I do? I have tried changing password and then entering it says same.
shell ssh rhel
3
Well, what do the logs on the destination host say? How about if you use a verbose SSH (ssh -vv -p20 user@host)?
â DopeGhoti
May 9 at 17:05
3
What you have asmachinenameshould be a username
â Andy Dalton
May 9 at 17:09
I cannot make much sense of your question, the title is about passwordless authentication yet you talk about using passwords. Does the usermachinenameon the machineipaddresshave an authentication method you can login with via SSH?
â GracefulRestart
May 9 at 19:35
yes it has authentication
â riya
May 10 at 12:41
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
During setting up passwordless ssh in rhel6 when it asks for password of other machine/instance after this command:
ssh -p29 machinename@ipaddress mkdir .ssh
(PS: I use a custom port: 29)
Then it asks for machine password, which I enter. Again it asks for password, and then it says disconnected due too many authentication failures.
What should I do? I have tried changing password and then entering it says same.
shell ssh rhel
During setting up passwordless ssh in rhel6 when it asks for password of other machine/instance after this command:
ssh -p29 machinename@ipaddress mkdir .ssh
(PS: I use a custom port: 29)
Then it asks for machine password, which I enter. Again it asks for password, and then it says disconnected due too many authentication failures.
What should I do? I have tried changing password and then entering it says same.
shell ssh rhel
edited May 9 at 17:11
Andy Dalton
4,7561520
4,7561520
asked May 9 at 16:40
riya
1
1
3
Well, what do the logs on the destination host say? How about if you use a verbose SSH (ssh -vv -p20 user@host)?
â DopeGhoti
May 9 at 17:05
3
What you have asmachinenameshould be a username
â Andy Dalton
May 9 at 17:09
I cannot make much sense of your question, the title is about passwordless authentication yet you talk about using passwords. Does the usermachinenameon the machineipaddresshave an authentication method you can login with via SSH?
â GracefulRestart
May 9 at 19:35
yes it has authentication
â riya
May 10 at 12:41
add a comment |Â
3
Well, what do the logs on the destination host say? How about if you use a verbose SSH (ssh -vv -p20 user@host)?
â DopeGhoti
May 9 at 17:05
3
What you have asmachinenameshould be a username
â Andy Dalton
May 9 at 17:09
I cannot make much sense of your question, the title is about passwordless authentication yet you talk about using passwords. Does the usermachinenameon the machineipaddresshave an authentication method you can login with via SSH?
â GracefulRestart
May 9 at 19:35
yes it has authentication
â riya
May 10 at 12:41
3
3
Well, what do the logs on the destination host say? How about if you use a verbose SSH (
ssh -vv -p20 user@host)?â DopeGhoti
May 9 at 17:05
Well, what do the logs on the destination host say? How about if you use a verbose SSH (
ssh -vv -p20 user@host)?â DopeGhoti
May 9 at 17:05
3
3
What you have as
machinename should be a usernameâ Andy Dalton
May 9 at 17:09
What you have as
machinename should be a usernameâ Andy Dalton
May 9 at 17:09
I cannot make much sense of your question, the title is about passwordless authentication yet you talk about using passwords. Does the user
machinename on the machine ipaddress have an authentication method you can login with via SSH?â GracefulRestart
May 9 at 19:35
I cannot make much sense of your question, the title is about passwordless authentication yet you talk about using passwords. Does the user
machinename on the machine ipaddress have an authentication method you can login with via SSH?â GracefulRestart
May 9 at 19:35
yes it has authentication
â riya
May 10 at 12:41
yes it has authentication
â riya
May 10 at 12:41
add a 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');
);
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%2funix.stackexchange.com%2fquestions%2f442826%2fpasswordless-ssh-in-rhel6%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
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');
);
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');
);
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
3
Well, what do the logs on the destination host say? How about if you use a verbose SSH (
ssh -vv -p20 user@host)?â DopeGhoti
May 9 at 17:05
3
What you have as
machinenameshould be a usernameâ Andy Dalton
May 9 at 17:09
I cannot make much sense of your question, the title is about passwordless authentication yet you talk about using passwords. Does the user
machinenameon the machineipaddresshave an authentication method you can login with via SSH?â GracefulRestart
May 9 at 19:35
yes it has authentication
â riya
May 10 at 12:41