ssh-keygen -p -f id_rsaEnter old passphrase:Key has comment 'bcuser@pl1909'Enter new passphrase (empty for no passphrase):Enter same passphrase again:Your identification has been saved with the new passphrase.
当向没有密码的键添加密码时,运行看起来像这样:
ssh-keygen -p -f id_rsaKey has comment 'charlie@elf-path'Enter new passphrase (empty for no passphrase):Enter same passphrase again:Your identification has been saved with the new passphrase.