Copy SSH Key to Remote Server

Copies your public key to a remote server's authorized_keys in one command. Much safer than manually editing the file. Requires password auth to be temporarily enabled.

When you need this: After generating an SSH key, to authorize the key on a new server.

Variables

Command


        
3 views 1 copies
Log in to rate
Log in to save

Free account — save snippets into your own collections.