Setting Logout SSH Idle on Ubuntu

Ini berguna buat yang suka remote servernya dipakai oleh banyak orang.

Tambahkan baris perintah berikut pada konfigurasi ssh_config di /etc/ssh/sshd_config

## Buka terminal lalu masuk sebagai root, masuk ke config ssh

nano /etc/ssh/sshd_config

## Tambahkan baris berikut pada konfigurasinya

ClientAliveInterval 300

TCPKeepAlive yes

ClientAliveCountMax 3

## Restart ssh server

service ssh restart

## Testing server dgn login ke terminal server dan lihat hasilnya 🙂


i'm a sysadmin. i prefer networking world than another. i can reach anything, go everywhere, and get something with networking. welcome to the world of networking

Tagged with: , ,
Posted in Linux

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: