CmdID / aws / aws transfer
aws transfer import-ssh-public-key
Adds a Secure Shell (SSH) public key to a Transfer Family user identified by a UserName value assigned to the specific file transfer protocol-enabled server, identified by ServerId. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--server-idA system-assigned unique identifier for a server.--ssh-public-key-bodyThe public key portion of an SSH key pair.--user-nameThe name of the Transfer Family user that is assigned to one or more servers.