Irawan

sedikit catatanku…

Mengganti default port ssh di Linux

Mengganti default port ssh di Linux

1. Gunakan editor untuk mengedit file sshd_config
# vim /etc/ssh/sshd_config

2. Cari pada bagian # Port 22 dan lakukan perubahan sesuai port baru yang diinginkan.

3. Untuk mengetahui daftar port yang umum digunakan, dapat dilihat disini
Well known ports

4. Setelah selesai mengedit file sshd_config, simpan file-nya dan restart service ssh-nya
# /etc/init.d/sshd restart ato # service sshd restart

5. Coba login melalui ssh port yang baru
$ ssh -p [port baru] [user]@[ip.address.yang.dituju]

sumber:
Steps to change ssh port of a server
Bagaimana cara mengganti port ssh

Advertisements

09/10/2012 - Posted by | Tips Linux

No comments yet.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: