mirror of
/repos/dotTiddlywiki.git
synced 2025-12-30 07:31:33 +01:00
13 lines
358 B
Plaintext
13 lines
358 B
Plaintext
created: 20160906195305967
|
|
creator: user
|
|
modified: 20160906195401176
|
|
modifier: user
|
|
tags:
|
|
title: SSH copy key
|
|
type: text/vnd.tiddlywiki
|
|
|
|
: http://askubuntu.com/questions/4830/easiest-way-to-copy-ssh-keys-to-another-machine
|
|
|
|
```sh
|
|
cat ~/.ssh/id_rsa.pub | ssh <user>@<hostname> 'umask 0077; mkdir -p .ssh; cat >> .ssh/authorized_keys && echo "Key copied"'
|
|
``` |