official / ssh:addkey
Adds an SSH public key to ~/.ssh/authorized_keys
To run this Prog command, type this

README for ssh:addkey

Description

This Prog helps system administrators quickly add public keys to a user on a remote system. Most commonly, the user is a shared user and multiple team members are accessing the remote system through this single user.

Requirements

It is assumed that the user executing this Prog already can access the server using the specified target username using SSH keys.

Usage

proggy run official/ssh:addkey

This Prog will ask you for:

  • The server username
  • The server IP address
  • The public key you want to add

If you are running this command frequently on a single server, consider using the --save-defaults flag to save the username and server IP address.