Skip to content

Instantly share code, notes, and snippets.

View dewwwald's full-sized avatar

dewald dewwwald

View GitHub Profile
@dewwwald
dewwwald / A.markdown
Last active August 29, 2015 14:18 — forked from larrybotha/A.markdown

Add Your Public SSH Key To Your Server In One Command

You will need to create .ssh/authorized_keys if it is not yet on your server.

cat ~/.ssh/id_rsa.pub | ssh user@hostname 'cat >> .ssh/authorized_keys'

Generating Your Own Public Key