21 December , 2018

Mengubah Default Port SSH pada Server

Membiarkan default port ssh yaitu port 22 adalah sesuatu yang tidak dianjurkan dalam hal keamanan sebuah vps atau server. Banyak sekali orang yang tidak peduli atas hal ini dengan membiarkan port SSH tetap default. Padahal menurut saya hal sepele seperti ini lah yg harus di perhatikan di awal untuk keamanan server.

Berikut saya berikan tutorial mengganti port default server:

  1. Pertama kita ketikkan command berikut
    nano /etc/ssh/sshd_config
  2. Setelah masuk kedalam file konfigurasi SSHD, find port 22 lalu ubah angka 22 menjadi angka yang anda inginkan, contoh:
    port 1234
  3. Keluar dari file konfigurasi SSHD dengan menekan CTRL + X, lalu pilih yes.
  4. Restart sshd dahulu
    service sshd restart
  5. Lalu login kembali dengan ssh
    ssh root@ -p 1234

Sekian artikel ini semoga bermanfaat untuk anda, terimakasih.


Nurul Hidayat

Hello, saya adalah seorang software developer khususnya dibidang web. saya sangat menyukai Shell Scripting & Security semoga tulisan-tulisan kecil saya bisa bermanfaat.

You may also like...

25,240 Responses

  1. What’s Going down i’m new to this, I stumbled upon this I have discovered It absolutely useful and
    it has helped me out loads. I hope to contribute &
    help different users like its aided me. Good job.

  2. Hey there! I know this is somewhat off-topic however
    I had to ask. Does building a well-established blog like yours require a massive amount work?
    I’m brand new to operating a blog but I do write in my journal everyday.
    I’d like to start a blog so I can easily share my own experience and views online.
    Please let me know if you have any ideas or tips for new aspiring bloggers.
    Appreciate it!

  3. edgaryz3 says:

    Hot new pictures each day
    marilyn moore porn star redhead teen porn tube homemade mature swinger porn tubes freckle fetish porn finest chennai aunty porn

  4. I’m truly enjoying the design and layout of your website. It’s a very easy on the eyes which makes it much more enjoyable for me to come here and visit more
    often. Did you hire out a developer to create
    your theme? Great work!

  5. Just want to say your article is as astounding. The clearness for your submit is
    just excellent and that i could think you’re a professional in this subject.
    Well together with your permission let me to snatch
    your feed to keep up to date with coming near near post.
    Thanks a million and please continue the rewarding work.

  6. Having read this I believed it was extremely enlightening.
    I appreciate you taking the time and energy
    to put this informative article together. I once again find myself personally spending
    a lot of time both reading and commenting.
    But so what, it was still worthwhile!

  7. carlenehp16 says:

    College Girls Porn Pics
    you amatuer porn streaming girl porn young real core porn aishwarya porn free porn pics handjobs

  8. cQ7uS4pV2F5 says:

    hello!,I love your writing very so much! share we communicate more about your article on AOL?
    I require a specialist on this space to
    resolve my problem. May be that is you! Taking a look forward to look you.

  9. Hmm it appears like your site ate my first comment (it was
    extremely long) so I guess I’ll just sum it
    up what I wrote and say, I’m thoroughly enjoying
    your blog. I too am an aspiring blog blogger but I’m still new to
    the whole thing. Do you have any tips and hints for rookie blog writers?
    I’d really appreciate it.

  10. Good day very cool blog!! Man .. Excellent .. Superb ..

    I’ll bookmark your site and take the feeds also? I am happy to
    search out numerous useful information right here
    in the put up, we’d like develop extra techniques on this
    regard, thanks for sharing. . . . . .

  11. MartinRow says:

    Manage to earn more than $ 10,000. You can also purchase wallets through exchanges on the Internet. The money will go 100% to your e-wallet or card.

  12. Appreciation to my father who stated to me regarding this blog,
    this website is genuinely amazing.

  13. I’m not that much of a internet reader to be honest but your sites really nice, keep it up!
    I’ll go ahead and bookmark your site to come back later on. All the best

  14. New project started to be available today, check it out
    free cpa porn public porn humility porn star escort london higurashi no naku koro ni porn son in law porn

  15. daisyve18 says:

    Young Heaven – Naked Teens & Young Porn Pictures
    adults only classy porn brazilian porn german back in the day plack porn turkish porn movies nathan lawson porn

  16. With havin so much content and articles do you ever run into any issues
    of plagorism or copyright violation? My website has a lot of completely unique content I’ve
    either authored myself or outsourced but it
    looks like a lot of it is popping it up all over the web without my authorization. Do you know any techniques to help prevent content from being
    stolen? I’d truly appreciate it.

  17. Hi colleagues, its enormous piece of writing about teachingand
    entirely explained, keep it up all the time.

  18. kI0rT1pJ4U2 says:

    bookmarked!!, I love your web site!

Leave a Reply