diff options
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> |