参考 https://maofun.com/583.html
注意点:

  1. 挂载
    mount /dev/sdb1 /mnt
  2. 更改秘钥authorized_keys
    现在应该更改root下的那个:
    vim /root/.ssh/authorized_keys

    同时更改sshd的几个配置:
    vim /etc/ssh/sshd_config

    PasswordAuthentication yes
    PermitRootLogin yes

最后修改日期: 2022年2月11日