Page tree
Skip to end of metadata
Go to start of metadata

This assumes you have an authorized_keys file from Managing Public Keys for File Transmission Services in your home folder (~) where the SFTP commands are executed.

Any keys not in the file you upload will replace the file on the server, removing them from authorization.


User Input

Screen Output


Login to server
sftp exampleaccount@sftp.onechicago.com

Connected to sftp.onechicago.com.
sftp> 


Change into the correct folder where authroized_keys should be located
cd .ssh

sftp>


Instruct the sftp client to put the local file authorized_keys to the remote file location
put authorized_keys

Uploading authorized_keys to /.ssh/authorized_keys
authorized_keys                                                                                                               100%             544           92.6KB/s         00:00
sftp>


Disconnect from this session
quit

Session closes, No output.


  • No labels