ssh permission denied

前端 未结 3 774
庸人自扰
庸人自扰 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条回答
  •  梦毁少年i
    2021-01-21 23:15

    As the answer above states, it looks to be a bad key. Run ssh-keygen and create a new one with the existing one being backed up.

    Then try doing an

    id_rsa.pub >> authorized_keys
    

    no copying/pasting. Copying/pasting from VIM can lead to user error.

提交回复
热议问题