Ssh - instalasi openssh server

From OnnoWiki
Revision as of 06:23, 19 August 2020 by Onnowpurbo (talk | contribs) (→‎Mengubah Port)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Instalasi openssh server

apt-get install openssh-server


Mengubah Port

Praktek yang aman agar lebih sulit di serang, ada baiknya mengubah port ssh yang digunakan.

Mengubah konfigurasi dengan cara mengedit file

sudo su
vi /etc/ssh/sshd_config

Ubah

Port 22

Menjadi port yang lain, misalnya

Port 12345

Pastikan # di depan kata Port kita delete