$ ssh-keygen -t dsa -P ‘‘ -f ~/.ssh/id_dsa $ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys 重启ssh:rcsshd restart 开机启动ssh服务:
systemctl enable sshd.service
时间: 2024-10-28 19:02:45
$ ssh-keygen -t dsa -P ‘‘ -f ~/.ssh/id_dsa $ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys 重启ssh:rcsshd restart 开机启动ssh服务:
systemctl enable sshd.service