Differences

This shows you the differences between two versions of the page.

Link to this comparison view

os:linux:ssh [2019/03/10 19:35]
phreazer created
os:linux:ssh [2019/03/10 19:42] (current)
phreazer
Line 1: Line 1:
 ====== SSH ====== ====== SSH ======
 ===== Pub key authentication ===== ===== Pub key authentication =====
 +
 +==== Manual ====
  
 Put your pub key `id_rsa.pub` into remote `authorized_key` file. Put your pub key `id_rsa.pub` into remote `authorized_key` file.
Line 12: Line 14:
 <​code>​ <​code>​
 scp ~/​.ssh/​id_rsa.pub user@remote:​ scp ~/​.ssh/​id_rsa.pub user@remote:​
 +</​code>​
 +==== Tool-based ====
 +<​code>​
 +ssh-copy-id your_username@192.0.2.0
 </​code>​ </​code>​