Forum Discussion
floris_1P
1Password Team
2 years agoIf you'd like to edit the SSH key file comment, you can just open the .pub
file directly in a text editor and change the comment.
I'm doing some spring cleaning in ~/.ssh/ and wanted to change the comment for an old key.
\n
\nuser@temps-Air .ssh % ssh-keygen -c
\nEnter file in which the key is (/Users/user/.ssh/id_rsa): id_ed25519.pub
\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
\n@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
\nPermissions 0644 for 'id_ed25519.pub' are too open.
\nIt is required that your private key files are NOT accessible by others.
\nThis private key will be ignored.
\nCannot load private key \"id_ed25519.pub\": bad permissions
\n
\nDoes anyone know if this might be caused by the 1Password SSH agent?
The permissions of the key in question look like this at the moment:
\n-rw-r--r-- 1 user staff 105 Jan 30 2019 id_ed25519.pub
1Password Version: 1Password for Mac 8.10.16 (81016047)
\nExtension Version: 2.15.1 21500107
\nOS Version: macOS 13.5.2 (22G91)
\nBrowser: Firefox 117.0.1
I'm doing some spring cleaning in ~/.ssh/ and wanted to change the comment for an old key.
\n
\nuser@temps-Air .ssh % ssh-keygen -c
\nEnter file in which the key is (/Users/user/.ssh/id_rsa): id_ed25519.pub
\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
\n@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
\nPermissions 0644 for 'id_ed25519.pub' are too open.
\nIt is required that your private key files are NOT accessible by others.
\nThis private key will be ignored.
\nCannot load private key \"id_ed25519.pub\": bad permissions
\n
\nDoes anyone know if this might be caused by the 1Password SSH agent?
The permissions of the key in question look like this at the moment:
\n-rw-r--r-- 1 user staff 105 Jan 30 2019 id_ed25519.pub
1Password Version: 1Password for Mac 8.10.16 (81016047)
\nExtension Version: 2.15.1 21500107
\nOS Version: macOS 13.5.2 (22G91)
\nBrowser: Firefox 117.0.1
If you'd like to edit the SSH key file comment, you can just open the .pub
file directly in a text editor and change the comment.
If you'd like to edit the SSH key file comment, you can just open the .pub
file directly in a text editor and change the comment.