1
0
mirror of /repos/dotTiddlywiki.git synced 2025-12-30 07:31:33 +01:00
dotTiddlywiki/mywiki/tiddlers/SSH copy key.tid
2016-09-07 09:51:31 +02:00

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"'
```