From 4fafa3dbe6bddda8655ad1a8521f99de9f5f9e24 Mon Sep 17 00:00:00 2001
From: Silvino Silva
- $ 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@@ -234,25 +234,25 @@
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-
Now you can just type ssh core to connect core.privat-network.net on +
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;
-- cgit 1.4.1-2-gfad0