ssh permission denied

Discussion in 'Installation/Configuration' started by Tom John, Apr 2, 2021.

  1. Tom John

    Tom John Member HowtoForge Supporter

    Hi guys,
    i am using ubuntu 20.04
    i added a superuser and i get the error:
    Code:
    [email protected]:~$ ssh [email protected]
    [email protected]: Permission denied (publickey).
    
    
    
    when i login as root there is no problem, only with the user tomdf is a problem.
    I deleted the rsa key and generate it new but i have still the same problem.
    maybe you have any idea
    thanks a lot for your help
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Have you set up passwordless login with ssh keys?
    Since ssh command does not ask for password, my guess is you have login with password disabled (this may be the default for superusers).
     
  3. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Did you copy the public key from your client to the user's authorized_keys file on the server?
     

Share This Page