📜  如何保存 ssh keygen 如何在 linux 中为特定用户添加 ssh 密钥? - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:33.348000             🧑  作者: Mango

代码示例1
ssh-keygen (press enter / do not enter any passwords)

ssh-keyscan hpc.university.edu > known_hosts (press enter)

ssh-copy-id yourname@hpc.university.edu ( press Enter) you might need some password to go through university VPN in this case , you can enter them )