SSH as root user

Discussion in 'UDOO NEO' started by Vinz87, Feb 29, 2016.

  1. Vinz87

    Vinz87 UDOOer

    Joined:
    Nov 11, 2015
    Messages:
    105
    Likes Received:
    19
    I read in the documentation that the password for root user is "ubuntu". But if I ssh with root user and type "ubuntu" as password I get a permission denied error.
    Is it possible to do that?
     
  2. klakier2121

    klakier2121 Member

    Joined:
    Dec 5, 2015
    Messages:
    48
    Likes Received:
    15
    You can't access to your root account over ssh. You have to enable this option. Try "udooer".

    then do "sudo su" and "passwd" to set a root-password.

    > nano /etc/ssh/sshd_config

    change "PermitRootLogin no" to "yes" and save

    > service ssh restart

    now you can login into your root account
     
  3. Vinz87

    Vinz87 UDOOer

    Joined:
    Nov 11, 2015
    Messages:
    105
    Likes Received:
    19
    Is this a permanent change? Or do I have to do it any time I want to access as root user?


    Inviato dal mio iPhone utilizzando Tapatalk
     
  4. klakier2121

    klakier2121 Member

    Joined:
    Dec 5, 2015
    Messages:
    48
    Likes Received:
    15
    Permanent. Only type root as user and your password
     
    Andrea Rovai likes this.
  5. Vinz87

    Vinz87 UDOOer

    Joined:
    Nov 11, 2015
    Messages:
    105
    Likes Received:
    19
    Thank you


    Inviato dal mio iPhone utilizzando Tapatalk
     

Share This Page