You are on page 1of 1

1. Buka terminal dengan menekan tombol Ctrl + Alt + T di Keyboard 2.

Ketikkan perintah berikut untuk menginstall OpenSSh Server sudo apt-get install openssh-server 3. Lakukan konfigurasi OpenSSH dengan mengedit file /etc/ssh/sshd_config, gunaka n perintah berikut. gksu gedit /etc/ssh/sshd_config Untuk keamanan silahkan anda ganti portnya, secara default ssh akan menggunakan port 22, jika anda ingin menggunakan port 2222, cukup ganti saja baris port 22 d engan port 2222. Anda juga bisa membatasi alamat IP yang bisa melakukan remote dengan cara mengha pus tanda # pada ListenAddress kemudian tuliskan IP yang akan anda beri izin. Contoh : # Package generated configuration file # See the sshd_config(5) manpage for details # What ports, IPs and protocols we listen for Port 22 ganti dengan port yang anda inginkan # Use these options to restrict which interfaces/protocols sshd will bind to #ListenAddress :: #ListenAddress 0.0.0.0 hapus tanda # Protocol 2 # HostKeys for protocol version 2 HostKey /etc/ssh/ssh_host_rsa_key HostKey /etc/ssh/ssh_host_dsa_key HostKey /etc/ssh/ssh_host_ecdsa_key #Privilege Separation is turned on for security UsePrivilegeSeparation yes

You might also like