This is a bare-bones SSH agent extension for Google Chrome™. It provides an SSH agent implementation that can be used with the Secure Shell Chrome extension.
Install the extension from the Chrome Web Store.
- Click on the SSH Agent extension's icon in to Chrome toolbar.
- Configure a new private key by clicking the 'Add Key' button. Give it a name and enter the PEM-encoded private key. If you use Chrome Sync, configured keys will be synced to your account and available across your devices. Only the raw PEM-encoded private key you entered will be synced. That is, if you entered an encrypted private key, the encrypted private key will be synced. If you entered an unencrypted private key, the unencrypted private key will be synced.
- Click the 'Load' button and enter the key's passphrase to load the key into the SSH agent.
- When creating a new connection in the Secure Shell extension, add
--ssh-agent=eechpbnaifiimgajnomdipfaamobdfha
to "SSH Relay Server Options" field to indicate that it should use the SSH Agent for keys.
Portions of the code and approach are heavily based on the MacGyver Chrome extension. In particular, the following:
- Usage of GopherJS, which makes it easy to use Go's existing SSH Agent implementation.
- Code translating between the SSH Agent protocol used by the secure Shell extension and the actual SSH agent protocol (details).
This is not an officially supported Google product.