Scroll untuk baca artikel
LinuxServerTips & Tricks

Mengatasi error SSH ke server

241
×

Mengatasi error SSH ke server

Sebarkan artikel ini
putty
putty

Bagi para pengguna web developer, mungkin tidak asing dengan SSH, biasanya saya menggunakan MobaXterm ataupun Xcell akan tetapi jika jika kita ingin menggunakan yang simpel maka gunakan Putty karena sizenya yang kecil untuk di download dan ringan. Saat proses instalasi ssh server, di beberapa server lancar. Namun di satu server saya menemukan pesan error “Server does not support diffie-hellman-group1-sha1 for keyexchange”.

Mungkin dari beberapa orang bakalan langsung google errornya di google, tapi saya sudah menemukan solusi setelah google sana sini.
Mungkin kita langsung coba saja mengatasi error ssh ke server.
Cara berikut sudah saya coba di server berbasis Ubuntu.
1. Login SSH ke server menggunakan PUTTY atau terminal login menggunakan root atau setiap perintah tambahkan sudo.
2. Cari lokasi file sshd_conf / sshd_config. Bisa menggunakan perintah.

locate sshd_conf

3. Buka file config tersebut dengan editor kesayangan anda.

sudo nano /etc/ssh/sshd_config

4. Tambahkan baris berikut di bagian terakhir

KexAlgorithms diffie-hellman-group1-sha1,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
 
Ciphers 3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr

5. Setelah generate key baru dengan ketikkan command

sudo ssh-keygen -A

6. Terakhir restart service ssh anda.

sudo service ssh restart

happy coding 🙂

Respon (0)

  1. The next time I read a weblog, I hope that it doesnt disappoint me as much as this one. I imply, I know it was my choice to read, however I really thought youd have something fascinating to say. All I hear is a bunch of whining about one thing that you may repair if you happen to werent too busy in search of attention.

  2. rurdrbdgce Yeezy 2019,Are you searching for top class Escort service in Noida and want to enjoy with them, hire sexy girls from top Greater Noida escort service and enjoy full night.

  3. In the early morning of the 13th, a joint investigation team consisting of the Provincial Department of Housing and Construction, the Provincial Commission for Discipline Inspection, the Provincial Party Committee Propaganda Department.

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *

Situs ini menggunakan Akismet untuk mengurangi spam. Pelajari bagaimana data komentar Anda diproses.

logo terminal 2
DNS

Pendahuluan Pada postingan kali ini, saya akan membagikan…

Verified by MonsterInsights