Koneksi VPS dengan SSH Tanpa Password

Pengguna VPS pasti akrab dengan yang namanya SSH atau Secure Shell. Sistem koneksi terminal versi aman dari Telnet ini merupakan satu-satunya pilihan untuk manajemen VPS.

Pada umumnya, untuk menjalankan sesi SSH, dibutuhkan SSH Client seperti PuTTY. Setelah menginisiasi koneksi ke server, kita diminta user dan password. Tentu ini memakan waktu beberapa saat. Saya termasuk orang yang tidak terlalu suka ribet. Maka dari itu saya setel saja SSH ke VPS saya dengan sistem private key, tanpa password.

Login VPS dengan SSH tanpa password

Saya akan memberi contoh menggunakan Windows 8 sebagai SSH client. Untuk itu perlu disiapkan bahan-bahan sebagai berikut:

  • PuTTY sebagai aplikasi client SSH
  • PuTTY Key Generator untuk membuat private key
  • Secangkir teh hangat dan cemilan

Langkah-langkah untuk login SSH tanpa password diantaranya sebagai berikut:

  • Buka PuTTY Key Generator. Lalu tekan tombol Generate. Ada semacam progress bar yang muncul. Gerakkan mouse dibawah progress bar tersebut, di area kosong, sampai progress bar penuh dan berganti menjadi seperti gambar dibawah ini.
    Proses pembuatan private key.

    Proses pembuatan private key.

  • Klik Save private key, lalu simpan file berekstensi .ppk tersebut di folder yang aman, namun mudah anda temukan.
  • Jangan tutup dulu jendela Puttygen tersebut. Pada bagian Public key, yang isinya karakter-karakter ga jelas itu klik kanan lalu pilih menu Select All, klik kanan lagi lalu pilih Copy.
    Puttygen menghasilkan public key

    Puttygen menghasilkan public key

  • Buka PuTTY lalu login ke VPS. Ketik nano ./.ssh/authorized_keys lalu tekan enter. Seharusnya anda mendapati file itu kosong. Tinggal arahkan pointer mouse ke layar PuTTY lalu klik kanan.

Ketik exit di shell untuk logout dari VPS. Nah, sekarang urusan dengan public key sudah beres. Saatnya setting PuTTY supaya bisa login SSH tanpa password ke VPS, hanya menggunakan key tadi.

  • Buka PuTTY, lalu klik tanda + di bagian Connection. Selanjutnya klik Data. Isikan user name seperti gambar dibawah ini.
    Setting PuTTY login data dengan username VPS. Biasanya sih root. :)

    Setting PuTTY login data dengan username VPS. Biasanya sih root. 🙂

  • Setelah itu klik tanda + di bagian SSH, lalu klik Auth. Nah, silahkan setting sesuai gambar dibawah ini.
    Tambahkan file PPK yang sudah disimpan tadi. Masih inget kan lokasinya?

    Tambahkan file PPK yang sudah disimpan tadi. Masih inget kan lokasinya?

Setelah itu seharusnya anda sudah bisa login SSH tanpa password ke VPS anda, seperti gambar dibawah ini:

Putty bisa login ssh tanpa password

Putty bisa login ssh tanpa password ke VPS saya.

Jangan lupa untuk menyimpan setting PuTTY, ya. Kalo cara simpannya tentu anda sudah tahu, kan? Oh ya, cara ini baiknya hanya dilakukan di komputer private, entah itu laptop atau PC yang khusus anda gunakan sendiri. Ada pertanyaan? Silahkan di kolom komentar.

Artikel ini diterbitkan pada

Seorang yang percaya hari akhir dan mencari Tuhan melalui ilmu pengetahuan. Mengerti PHP, Wordpress dan Linux. Namun masih saja menggunakan Windows 10 sebagai sistem operasi utama. Mau tanya apa saja atau bahkan curhat sama penulis ini, hubungi saja melalui formulir kontak disini. Pasti dibalas, kok!

Ada 119 pendapat pembaca

Dibawah ini adalah pendapat yang dikirimkan pembaca atas artikel ini. Negara Kesatuan Republik Indonesia adalah negara bebas, anda boleh menulis apa saja asal mampu mempertanggungjawabkannya. Kami menerima kritik dan saran namun tidak menerima caci maki. Hidup cuma sekali, jangan sia-siakan hanya untuk menyakiti hati orang lain.

  1. Ihsan:

    Gan mau nanya, itu alamat Ip address apa?, ethernet PC/Laptop kah? Atau apa, mohon di jawab, Terimakasih

  2. ymBlvXdAFMiMwLAB:

    ymBlvXdAFMiMwLAB

  3. EOahtWmhFQjwJoMpFcQsBfJlsR:

    EOahtWmhFQjwJoMpFcQsBfJlsR

  4. cHeMviIQaPcuQvBjPQRu:

    cHeMviIQaPcuQvBjPQRu

  5. EskQpHtkvmPJVFka:

    EskQpHtkvmPJVFka

  6. Aliana Hughes:

    Aliana Hughes

  7. wJNlfPIjOmLjzuERNKRUw:

    wJNlfPIjOmLjzuERNKRUw

  8. danOFmSyrFxivOFvplFPvjFiq:

    danOFmSyrFxivOFvplFPvjFiq

  9. Ensley Ellison:

    Ensley Ellison

  10. PhoneNumber tracking:

    I always look forward to reading your articles. Thanks for sharing your thoughts and ideas with us.

  11. Shelby Peters:

    Shelby Peters

  12. Aryan Matthews:

    Aryan Matthews

  13. Mckenzie Callahan:

    Mckenzie Callahan

  14. Leonidas Lim:

    Leonidas Lim

  15. Ainhoa Vance:

    Ainhoa Vance

  16. Promise Fowler:

    Promise Fowler

  17. Marley Francis:

    Marley Francis

  18. Ryan West:

    Ryan West

  19. Blakely Rivera:

    Blakely Rivera

  20. Case Browning:

    Case Browning

  21. Ares Hines:

    Ares Hines

  22. Gianna Johns:

    Gianna Johns

  23. teanisha leggio neme:

    teanisha leggio neme

  24. Amiyah Daniel:

    Amiyah Daniel

  25. Lateesha Furreg:

    Lateesha Furreg

  26. Jermain Natland:

    Jermain Natland

  27. Eluid Grotian:

    Eluid Grotian

  28. elviraworley144:

    Awesome blog! Is your theme custom made or did you download it from somewhere? A design like yours with a few simple adjustements would really make my blog stand out. Please let me know where you got your theme. Cheers

  29. Viridiana Kolega:

    Viridiana Kolega

  30. Dianthe Ubiali:

    Dianthe Ubiali

  31. Katielee Garnaut:

    Katielee Garnaut

  32. Rhealyn Debone:

    Rhealyn Debone

  33. Keylee Mellard:

    Keylee Mellard

  34. Xara Ayrik:

    Xara Ayrik

  35. Khabiba Valinskas:

    Khabiba Valinskas

  36. Dreyton Balbay:

    Dreyton Balbay

  37. Donette Goodrick:

    Donette Goodrick

  38. Duice Kosler:

    Duice Kosler

  39. Teddye Pyakurel:

    Teddye Pyakurel

  40. Teal Ravindranath:

    Teal Ravindranath

  41. Bethaney Ubalde:

    Bethaney Ubalde

  42. Zacherie Kosman:

    Zacherie Kosman

  43. Seleta Schaap:

    Seleta Schaap

  44. Khushbu Shimazu:

    Khushbu Shimazu

  45. Dulcy Cirpaci:

    Dulcy Cirpaci

  46. Ronnay Lavela:

    Ronnay Lavela

  47. https://664dfaab3089e.site123.me/:

    I am curious to find out what blog platform you have
    been working with? I’m experiencing some small security problems with
    my latest website and I would like tto find something more risk-free.
    Do you have any recommendations? https://664dfaab3089e.site123.me/

  48. Julyanna Fernandez rosso:

    Julyanna Fernandez rosso

  49. Suhailey Sauble:

    Suhailey Sauble

  50. Shanquita Polasek:

    Shanquita Polasek

  51. Jessilyn Houlden:

    Jessilyn Houlden

  52. Krissy Ratkovich:

    Krissy Ratkovich

  53. Judell Eylicio:

    Judell Eylicio

  54. Ivola Blidariu:

    Ivola Blidariu

  55. Zimmie Magano:

    Zimmie Magano

  56. Archi Appleton:

    Archi Appleton

  57. Wadee Siteavu:

    Wadee Siteavu

  58. Dantrell Calpanchay suarez:

    Dantrell Calpanchay suarez

  59. Welcome De quintana:

    Welcome De quintana

  60. Aleira Pedrotta:

    Aleira Pedrotta

  61. Crhistopher Clemenza:

    Crhistopher Clemenza

  62. Tiea Dupee:

    Tiea Dupee

  63. Adelaido Rattini:

    Adelaido Rattini

  64. Tasheen Curren:

    Tasheen Curren

  65. Cheriann Dewert:

    Cheriann Dewert

  66. Nick Schusterman:

    Nick Schusterman

  67. Marie-pierre Khlifi:

    Marie-pierre Khlifi

  68. Alyjah Yuguero:

    Alyjah Yuguero

  69. Rashodd Malfatto:

    Rashodd Malfatto

  70. Tanairy Saez cassanelli:

    Tanairy Saez cassanelli

  71. Nayelie Dineal:

    Nayelie Dineal

  72. Kellisha Verrengia:

    Kellisha Verrengia

  73. Makiala Hazar:

    Makiala Hazar

  74. Zakria Schuffel:

    Zakria Schuffel

  75. Makenize Cuggino:

    Makenize Cuggino

  76. Ronnett Seyffart:

    Ronnett Seyffart

  77. Funston Zoff:

    Funston Zoff

  78. Makhach Manchame:

    Makhach Manchame

  79. Juretta Garcia marchan:

    Juretta Garcia marchan

  80. Chinwe Prothe:

    Chinwe Prothe

  81. Kaylinda Passweg:

    Kaylinda Passweg

  82. Angelica Fouts:

    Superb, what a weblog it is! This website presents useful data to us, keep it up.

  83. Maegon Rajaram:

    Maegon Rajaram

  84. Lucie Motter:

    You really make it seem so easy with your presentation but I find this topic to be actually something that I think I would never understand. It seems too complex and extremely broad for me. I am looking forward for your next post, I will try to get the hang of it!

  85. situs game online Terpercaya:

    Ꭲhanos for sharіng your info. I truly appreciɑte your efforets
    and I аm waiting for your next write ups tһɑnks once again. http://www.radioavang.org/idn-poker-permainan-online-ramtoto-terpercaya-di-asia-dan-indonesia/

  86. Evalett Knor:

    Evalett Knor

  87. Ladaijah Lecher:

    Ladaijah Lecher

  88. Brendan Chaffey:

    Definitely imagine that that you stated. Your favourite reason appeared to be on the net the easiest thing to take into account of. I say to you, I certainly get annoyed even as other people think about worries that they just do not know about. You managed to hit the nail upon the highest as neatly as outlined out the entire thing without having side effect , other folks can take a signal. Will likely be back to get more. Thank you

  89. Kalynne Sernabas:

    Kalynne Sernabas

  90. Carina Gunther:

    Right away I am going away to do my breakfast, afterward having my breakfast coming yet again to read further news.

  91. slotmpoa:

    Right away I am going away to do my breakfast, later than having my breakfast coming again to read further news.

  92. Krystyna Nina:

    Fantastic beat ! I would like to apprentice at the same time as you amend your site, how could i subscribe for a blog site? The account helped me a appropriate deal. I had been tiny bit acquainted of this your broadcast provided vibrant clear concept

  93. porn.xvtube.win/video/8bo2c15/:

    Thhat iss verry fascinating, Yoou are ann overly skilled blogger.

    I’ve joined yur rrss feed annd look forward tto sseeking extra off our wonderrful post.

    Also, I’ve shared your webssite inn mmy spcial
    networks

  94. Porn Sex:

    Hmm is anyone else having problems with the images on this blog
    loading? I’m trying to find out if its a problem on my end
    or if it’s the blog. Any responses would be greatly appreciated.

  95. Porn Sex:

    We stumbled over here different web page and thought I may as well check things out.
    I like what I see so now i am following you. Look forward to exploring your web page repeatedly.

  96. Veola McLaurin:

    Amazing! This blog looks exactly like my old one! It’s on a totally different subject but it has pretty much the same layout and design. Outstanding choice of colors!

  97. download gocengqq:

    Its like you read my thoughts! You appear to know so
    much approximately this, such as you wrote the e-book in it or something.
    I believe that you just can do with a few percent
    to power the message home a bit, however other than that, this is magnificent blog.

    A fantastic read. I will certainly be back.

  98. lindsayn96:

    Excellent way of explaining, and nice article to take information about my presentation subject, which i am going to convey in university.

  99. BOKEP INDO:

    Great blog you’ve got here.. It’s difficult to find high-quality writing like yours these
    days. I honestly appreciate people like you!
    Take care!!

  100. Flor:

    Hi Dear, are you in fact visiting this web site daily, if so after that
    you will definitely take fastidious know-how.

  101. sang31369853:

    Its like you read my thoughts! You appear to understand a lot approximately this, such as you wrote the e book in it or something. I think that you could do with a few percent to force the message house a bit, however other than that, this is fantastic blog. An excellent read. I’ll certainly be back.

  102. ausmalbild schmetterling:

    Hi there, I check your new stuff like every week. Your story-telling
    style is awesome, keep it up!

  103. Helen Winston:

    Клиника доктора Доберштейн — это медицинское учреждение, в котором особое внимание уделяется знаниям и опыту специалистов. Врачи здесь регулярно повышают свою квалификацию.
    В данном здоровье центр медицинский вы встретите только самое современное оборудование, обладающее соответствующими сертификатами.
    Важный акцент в клинике сделан на безопасность пациентов. Мы используем лишь сертифицированные и эффективные медикаменты.
    Кроме того, пациенты могут рассчитывать на высокий стандарт обслуживания.

  104. toronto gta:

    I reaⅾ this paragraph completely oon the topic of the resemblɑnce of hottest and precedіng technologies, it’s remarkable article.

  105. A片:

    I’m gone to say to my little brother, that he should also go to see this blog on regular
    basis to get updated from most up-to-date information.

    My blog – A片

  106. milano8005129048:

    I will right away clutch your rss feed as I can not to find your e-mail subscription link or e-newsletter service. Do you’ve any? Kindly allow me know so that I may subscribe. Thanks.

  107. renovation dreams:

    I’m amɑzed, I have to admit. Seldom do I come across a blog thɑt’s equaly educative and interеsting, andd lеt me tell yоu,
    yoս’ve hit the naiіl on the head. The problem
    is something that not enough people are speaking intеlligently
    about. Now i’m very happy I found this during my
    hunt for ѕomething relating to this.

  108. Go Here:

    Can you tell us more about this? I’d want to find out some additional information.

  109. Robertwaf:

    Enhance your intimate life with genuine <a href=https://cialisgettingtips24.com/]cialis non prescription from our trusted store. We offer quick delivery and protect your privacy with discreet packaging. Explore our affordable options and dedicated service. Buy <a href=https://cialisgettingtips24.com/]generic of cialis now for a boost in confidence.

  110. Robertwaf:

    Boost your intimate moments with quality <a href=https://cialisgettingtips24.com/]cialis black 80 mg from our trusted online store. We provide quick, discreet delivery and excellent customer service. Take advantage of our affordable rates and reliable transactions. Purchase <a href=https://cialisgettingtips24.com/]40mg cialis now for a confident and satisfying experience.

  111. slot:

    I was recommended this blog by my cousin. I am not sure whether
    this post is written by him as no one else know such detailed about my problem.
    You’re incredible! Thanks!

  112. angka setan capjikia:

    Good day! Do you use Twitter? I’d like to follow you if that would be ok.
    I’m undoubtedly enjoying your blog and look forward to new posts.

  113. slot gacor:

    I seriously love your site.. Very nice colors & theme.
    Did you build this web site yourself? Please reply back as
    I’m attempting to create my own personal blog and want to
    learn where you got this from or exactly what the theme is named.

    Thank you!

  114. outdoor Wood burning Stove:

    9 Lessons Your Parents Taught You About Outdoor Wood Burning
    Stove outdoor Wood burning Stove

  115. Marvin Lyle:

    Thanks for another excellent article. Where else could anybody get that type of information in such a perfect method of writing? I’ve a presentation next week, and I am at the search for such information.

  116. arrombTum:

    Diuretics work to maintain euvolemia by increasing fluid excretion; these drugs improve symptoms, but do not decrease mortality, and in fact can be injurious to renal function priligy otc It is important to keep gene expression OFF while isolating a cell line stably expressing a gene of interest, because the expression of certain proteins may interfere with cell growth and thus with the process of isolating stable clones

  117. vehicle:

    How To Beat Your Boss On Audi Key Replacement vehicle

  118. arrombTum:

    Although ERО”3 has been detected in human pituitary adenomas 35, its expression is not common or at the levels observed in normal breast tissue 8, 9, 32 34 priligy dapoxetine buy

Kirim pendapat

Disclaimer: Komentar adalah tanggapan pribadi, tidak mewakili kebijakan Hanya Lewat. Redaksi berhak menyunting atau menghapus kata-kata yang berbau narsisme, promosi, spam, pelecehan, intimidasi dan kebencian terhadap suatu golongan.