networking:juniper:jncia-junos-ssh

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
networking:juniper:jncia-junos-ssh [2026/10/02 05:55] – [6. SSH Remote Access Flow] ilyasanetworking:juniper:jncia-junos-ssh [2026/10/02 06:16] (current) – [SSH Key Authentication] ilyasa
Line 1: Line 1:
-====== JNCIA-Junos : Using SSH to Remotely Connect to the Junos CLI ======+====== JNCIA-Junos : Remote Access CLI  to the Junos CLI ======
  
 Junos CLI dapat diakses secara remote menggunakan koneksi jaringan. Junos CLI dapat diakses secara remote menggunakan koneksi jaringan.
Line 75: Line 75:
  
 ---- ----
 +===== Configure User on Junos =====
 +
 +Sebelum menggunakan SSH/telnet, user harus dibuat pada perangkat Juniper. karena defaultnya user root tidak bisa digunakan untuk ssh/telnet untuk alasan keamana.
 +
 +Masuk ke configuration mode:
 +
 +<code>
 +root@> configure
 +</code>
 +
 +Membuat user:
 +
 +<code>
 +[edit]
 +root@device# set system login user ilyasa class super-user
 +</code>
  
 ---- ----
Line 114: Line 130:
  
  
-===== 4. SSH Authentication =====+===== SSH Authentication =====
  
 Junos mendukung beberapa metode autentikasi SSH: Junos mendukung beberapa metode autentikasi SSH:
Line 128: Line 144:
  
 <code> <code>
-ssh admin@192.168.1.1+ssh ilyasa@172.20.21.101
 </code> </code>
  
Line 140: Line 156:
  
 Metode ini lebih aman karena tidak menggunakan password saat login. Metode ini lebih aman karena tidak menggunakan password saat login.
 +
 +
 +=== Add Public Key to User ===
 +
 +Sebelumnya genrate 2 pair key terlebih dahulu untuk gigunakan lebih lengkapnya pada [[system:linux:ssh:ssh-keygen| halaman ini]]
 +
 +Tambahkan public key yang telah dibuat pada ke user yang telah dibuat.
 +
 +Format:
 +
 +<code>
 +configure
 +set system login user username authentication ssh-ed25519 "public-key"
 +commit
 +</code>
 +
 +Contoh:
 +{{ :networking:juniper:jncia-junos-sshkey-user-screenshot_2026-10-02_06-15-02-compressed.png?nolink&900 |}}
  
 ---- ----
  • networking/juniper/jncia-junos-ssh.1790895307.txt.gz
  • Last modified: 2026/10/08 04:33
  • (external edit)