Project

General

Profile

How to access servers with ssh » History » Version 6

Sanghee Kim, 08/15/2019 01:58 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 6 Sanghee Kim
By default ssh uses id_rsa key, so you can avoid `-i ~/.ssh/id_rsa`.
10 1 Jin-Guk Kwon
11
<pre>
12 2 Jin-Guk Kwon
ssh user@your_host_ip
13 1 Jin-Guk Kwon
</pre>