passwordless ssh in rhel6

The name of the pictureThe name of the pictureThe name of the pictureClash 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.







share|improve this question

















  • 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 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










  • yes it has authentication
    – riya
    May 10 at 12:41














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.







share|improve this question

















  • 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 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










  • yes it has authentication
    – riya
    May 10 at 12:41












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.







share|improve this question













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.









share|improve this question












share|improve this question




share|improve this question








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 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










  • yes it has authentication
    – riya
    May 10 at 12:41












  • 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 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










  • 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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f442826%2fpasswordless-ssh-in-rhel6%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%2funix.stackexchange.com%2fquestions%2f442826%2fpasswordless-ssh-in-rhel6%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)