$ ssh root@192.168.120.41
ssh: connect to host 192.168.120.41 port 22: Connection refused
echo 'PermitRootLogin=yes' | sudo tee -a /etc/ssh/sshd_config
sudo systemctl restart sshd
$ ssh root@192.168.120.41
root@192.168.120.41'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 192.168.120.130
root@starfive:~#
root (on page 19)
~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.7G 0 3.7G 0% /dev
tmpfs 793M 3.1M 790M 1% /run
/dev/mmcblk1p4 2.0G 1.9G 88M 96% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 12K 5.0M 1% /run/lock
tmpfs 793M 32K 793M 1% /run/user/107
tmpfs 793M 24K 793M 1% /run/user/0
fdisk