Project

General

Profile

How to access servers with ssh » History » Version 3

Sanghee Kim, 08/15/2019 01:52 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 3 Sanghee Kim
If you named your key differently you need to replace `id_rsa` with your key name. 
5 1 Jin-Guk Kwon
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>