Command Line Utilities >

 

upload-key.exe

 

 

upload-key.exe

View allows you to display any text file. The filename may include a directory path in order to view a file in another directory.

USAGE:

upload-key [/s]  user@host  [list | add | del] [publickeyfile]

COMMAND OPTIONS:

/S

Use If the publickey subsystem is not available on the target server. This option will use the sftp subsystem

list

List keys available for user

add

Add a new key for user

del

Remove an existing key

publickeyfile

Key to add or delete, including full path if not in current directory

EXAMPLES:

Add key id_rsa.pub for user lisa on myserver

upload-key lisa@myserver add id_rsa.pub

Remove key id_rsa.pub for user lisa on myserver

upload-key lisa@myserver del id_rsa.pub

Add key id_rsa.pub for user lisa on myserver

upload-key lisa@myserver add c:\keys\list_id_dsa.pub

Add key id_rsa.pub for user lisa on myserver

upload-key lisa@myserver del c:\keys\list_id_dsa.pub

Add key id_rsa.pub for user lisa on myserver

upload-key lisa@myserver list

Add key id_rsa.pub for user lisa on myserver

upload-key -s lisa@fedora add id_rsa.pub 

 

 

Copyright © 2023 Pragma Systems Inc