notes/RK3568/移远/系统环境配置(SSH).md
2024-04-29 22:22:30 +08:00

1.0 KiB
Raw Blame History

系统环境配置(SSH)

允许root账户远程SSH登陆

  • 设置root账户密码
adb shell passwd
# 输入密码quectel
  • 修改SSH配置文件

修改 #PermitRootLogin prohibit-password 修改为 PermitRootLogin yes

adb shell
# :/PermitRootLogin 查找 PermitRootLogin 参数
vim /etc/ssh/sshd_config
  • 重启SSH服务
systemctl restart sshd

更新软件

apt update
apt upgrade -y

报错后,重新执行 apt update 出现错误:

报错信息

执行

apt --fix-broken install -y

出现错误:

报错信息

执行命令

dpkg -i --force-overwrite /var/cache/apt/archives/libc6-arm64-cross_2.31-0ubuntu9.9cross1_all.deb
dpkg -i --force-overwrite /var/cache/apt/archives/libx11-data_2%3a1.6.9-2ubuntu1.6_all.deb
apt upgrade -y