验证中...
开源中国 2018 年度最后一场技术盛会邀你来约~错过就要等明年啦!点此立即预约
语言: Shell
分类: 加密和安全
最后更新于 2018-12-09 10:05
变更或删除 ssh 的 passphrase
原始数据 复制代码
# https://stackoverflow.com/questions/112396/how-do-i-remove-the-passphrase-for-the-ssh-key-without-having-to-create-a-new-ke
#
# Short answer:
$ ssh-keygen -p
# This will then prompt you to enter the keyfile location, the old passphrase,
# and the new passphrase (which can be left blank to have no passphrase).
# If you would like to do it all on one line without prompts do:
$ ssh-keygen -p [-P old_passphrase] [-N new_passphrase] [-f keyfile]

评论列表( 0 )

你可以在登录后,发表评论

搜索帮助