# 将秘钥保存到文件中,可以指定其他路径(默认保存位置:/root/.ssh/id_rsa) Enter file inwhich to save the key (/root/.ssh/id_rsa):
# 创建了密钥目录 Created directory '/root/.ssh'.
# 给密钥设置密码,不需要设置(直接回车) Enter passphrase (empty for no passphrase):
# 重复输入的免密(直接回车) Enter same passphrase again: The key fingerprint is: SHA256:GTt6UUY4ANrv3/zP9IllP67D6hWy2XeQ4Ulk3aAedeM root@m01 The key's randomart image is: +---[RSA 2048]----+ | .... .. =+o| | o o. =..+| | . . ..o o oE | | . * . + + | | . S ...= | | . . o = .. | | o . o.o.+.| | o o .==o+| | . ++o+*o+| +----[SHA256]-----