linux:ssh
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
linux:ssh [2014/12/20 05:58] – percy | linux:ssh [2014/12/20 06:03] – percy | ||
---|---|---|---|
Line 13: | Line 13: | ||
| | ||
http:// | http:// | ||
+ | | ||
+ | ===== ssh key generate ===== | ||
+ | Apps-iMac: | ||
+ | < | ||
+ | Generating public/ | ||
+ | Enter file in which to save the key (/ | ||
+ | Enter passphrase (empty for no passphrase): | ||
+ | Enter same passphrase again: | ||
+ | Your identification has been saved in digitalocean_rsa. | ||
+ | Your public key has been saved in digitalocean_rsa.pub. | ||
+ | The key fingerprint is: | ||
+ | ec: | ||
+ | The key's randomart image is: | ||
+ | +--[ RSA 2048]----+ | ||
+ | |..++ . | | ||
+ | |.* = . | | ||
+ | |o.++.. | ||
+ | | .+o.E . | | ||
+ | |. oo S | | ||
+ | | o. . . | | ||
+ | | . o . | | ||
+ | | . o . | | ||
+ | | | ||
+ | +-----------------+ | ||
+ | </ | ||
+ | |||
+ | Then get the pub key | ||
+ | cat digitalocean_rsa.pub | ||
+ | |||
+ | Add it to the server side | ||
+ | root@pjq:~# vim ~/ | ||
| | ||
====== multiple ssh keys ====== | ====== multiple ssh keys ====== | ||
Line 24: | Line 55: | ||
User root | User root | ||
</ | </ | ||
- |
/var/www/dokuwiki/wiki/data/pages/linux/ssh.txt · Last modified: 2017/12/15 13:22 by percy