How to access servers with ssh » History » Version 2
Jin-Guk Kwon, 08/15/2019 01:50 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 | 2 | Jin-Guk Kwon | ssh -i ~/.ssh/id_rsa user@your_host_ip |
8 | 1 | Jin-Guk Kwon | </pre> |
9 | 2 | Jin-Guk Kwon | By default ssh use id_rsa key, so you can avoid `-i ~/.ssh/id_rsa` so, you can use |
10 | 1 | Jin-Guk Kwon | |
11 | <pre> |
||
12 | 2 | Jin-Guk Kwon | ssh user@your_host_ip |
13 | 1 | Jin-Guk Kwon | </pre> |