Using SSH over Ethernet as Root account

Since software release VF2_515_v2.11.5, root account is no longer required for logging in Debian OS remotely. But if you still need to use the root account for privileged operations in remote access, follow the instructions in this topic.

After the new system is installed, the rejected connection denial appears when you try to log on to the Debian Linux server as a root user. Here is the example information:
$ ssh root@
ssh: connect to host port 22: Connection refused
To enable SSH root login, perform the following steps:
  1. Run the following command to configure the SSH server:
    ~# echo 'PermitRootLogin=yes' >> /etc/ssh/sshd_config
  2. Restart the SSH server:
    ~# systemctl restart sshd
  3. You will be able to use SSH login using the root account. The following output indicates the login is successful:


    $ ssh root@
    root@'s password: 
    Linux starfive 5.15.0-starfive #1 SMP Fri Feb 24 03:26:44 EST 2023 riscv64
    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.
    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Mon Feb 27 08:05:28 2023 from