ssh permission denied

前端 未结 3 773
庸人自扰
庸人自扰 2021-01-21 22:30

I am trying to ssh into a remote machine and I get the following debug messages:

debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options          


        
3条回答
  •  暖寄归人
    2021-01-21 22:54

    You say that you are having trouble with a "new" node, however, there seems to be an entry for that ip in ~/.ssh/known_hosts It seems likely that it is trying to use the setup from a previous session. You say that you copied id_rsa, but you should have tried moving it to prevent it from being found and used. You can see the file mentioned in your post, particularly the line " Offering public key: /home/hadoop/.ssh/id_rsa"

    Try moving both of those files (id_rsa and known_hosts) and see if that changes things.

提交回复
热议问题