diff options
author | Silvino Silva <silvino@bk.ru> | 2019-02-14 06:08:44 +0000 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2019-02-14 06:08:44 +0000 |
commit | fed632cea589a4fc730dc852538cb40ca6f559fa (patch) | |
tree | 618a392022a78dd0cc7d4f7094d2051daa90e717 /tools/openssh.html | |
parent | bdfc05251acbb99c6bbcd4ff794a01dde2f8dc3b (diff) | |
parent | 4fafa3dbe6bddda8655ad1a8521f99de9f5f9e24 (diff) | |
download | doc-fed632cea589a4fc730dc852538cb40ca6f559fa.tar.gz |
release 0.4.2
Diffstat (limited to 'tools/openssh.html')
-rw-r--r-- | tools/openssh.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/openssh.html b/tools/openssh.html index e1748d7..7c627b6 100644 --- a/tools/openssh.html +++ b/tools/openssh.html @@ -208,8 +208,8 @@ this example the public key will be copied using scp;</p> <pre> - $ scp /home/bob/.ssh/id_rsa.pub admin@core.privat-network.net:/home/admin/.ssh/ - bob@core.privat-network.net's password: + $ scp /home/bob/.ssh/id_rsa.pub admin@machine.example.org:/home/admin/.ssh/ + bob@machine.example.org's password: id_rsa.pub 100% 390 0.4KB/s 00:00 </pre> @@ -234,25 +234,25 @@ <pre> Host core - Hostname core.privat-network.net + Hostname machine.example.org IdentityFile ~/.ssh/id_rsa Port 2222 User admin Host git - Hostname core.privat-network.net + Hostname machine.example.org IdentityFile ~/.ssh/id_rsa Port 2222 User gitolite Host git-admin - Hostname core.privat-network.net + Hostname machine.example.org IdentityFile ~/.ssh/gitolite Port 2222 User gitolite </pre> - <p>Now you can just type ssh core to connect core.privat-network.net on + <p>Now you can just type ssh core to connect machine.example.org on port 2222 with ~/.ssh/id_rsa as identity, or to connect to git server as gitolite admin;</p> |