google / chrome-ssh-agent

SSH Agent for use with Google Chrome's Secure Shell extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test status

SSH Agent for Google Chrome™

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.

Getting Started

Installation

Install the extension from the Chrome Web Store.

Adding and Using Keys

  1. Click on the SSH Agent extension's icon in to Chrome toolbar. List keys
  2. Configure a new private key by clicking the 'Add Key' button. Give it a name and enter the PEM-encoded private key. Add 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.
  3. Click the 'Load' button and enter the key's passphrase to load the key into the SSH agent. Enter passphrase
  4. 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. Connect

Credits

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).

Disclaimer

This is not an officially supported Google product.

About

SSH Agent for use with Google Chrome's Secure Shell extension

License:Apache License 2.0


Languages

Language:Go 86.5%Language:Starlark 8.7%Language:TypeScript 2.0%Language:Shell 1.1%Language:HTML 1.1%Language:CSS 0.6%