How to access servers with ssh » History » Version 1
Jin-Guk Kwon, 08/15/2019 01:47 PM
1 | 1 | Jin-Guk Kwon | h1. How to access servers with ssh |
---|---|---|---|
2 | |||
3 | You can connect to the host with ssh as the following. |
||
4 | If you named your key diferently, you need to replace `id_rsa` with your key name. |
||
5 | |||
6 | <pre> |
||
7 | ssh -i ~/.ssh/id_rsa user@our_host_ip |
||
8 | </pre> |
||
9 | By default ssh use id_rsa key, so we can avoid `-i ~/.ssh/id_rsa` so, we can use |
||
10 | |||
11 | <pre> |
||
12 | ssh user@our_host_ip |
||
13 | </pre> |