> josh? (mas josh angk. brapa?): > Ada yg pernah punya pengalaman serupa? > Dimana kira2 letak permasalahannya?
Blom pernah tuh.. > > > Saya sudah lakukan ssh-keygen dan semua file key sudah > ada. Juga sudah ada file /etc/ssh/ssh_host_rsa_key. > Tapi kenapa ada pesan error "No RSA key file > /etc/ssh/ssh_host_rsa_key"?. Udah bener ssh-keygennya ? Kemaren ssh-keygennya pake option apa ?? Coba pake -t rsa << ini jika kamu mo pake SSH protokol 2 Klo pake -t rsa1 << ini klo mo pake SSH protokol 1 sajah sedang -t dsa << ini buat SSH protokol 2 > [EMAIL PROTECTED]:/# sshd -d -d -d > debug1: Seeding random number generator > debug1: sshd version OpenSSH_2.9p1 > debug1: private host key: #0 type 0 RSA1 > debug3: No RSA1 key file /etc/ssh/ssh_host_rsa_key. > debug1: read PEM private key done: type RSA > debug1: private host key: #1 type 1 RSA > debug3: No RSA1 key file /etc/ssh/ssh_host_dsa_key. > debug1: read PEM private key done: type DSA > debug1: private host key: #2 type 2 DSA > debug1: Bind to port 22 on 0.0.0.0. > Server listening on 0.0.0.0 port 22. > Generating 768 bit RSA key. > RSA key generation complete. Nah .. coba perhatikan file file key nya ? Udah sesuai dengan key yang dibuat khan nggak ? Dari konfigurasi sshd_config, Anda hanya menginginkan menggunakan SSH protokol 2 , jadi pake kunci yang mendukung itu hanya RSA2 ( pake option -t rsa saja ) dan DSA ( pake option -t dsa ) Tapi itu cuman perkiraan gw ajah.. jadi dicuba di utak atik aja dulu, Ato coba dulu klo pake protokol 2 dan 1 sekaligus. Protocol 2,1 >> di sshd_config Truss ada sedikit kemungkinan kekurangan dibawah ... > > Port 22 > Protocol 2 > > ListenAddress 0.0.0.0 > > PermitRootLogin yes > # > IgnoreRhosts yes > # Uncomment if you don't trust ~/.ssh/known_hosts for > RhostsRSAAuthentication Baris ini coba diganti/ditambah 'no' jadi : RhostsRSAAuthentication no > #IgnoreUserKnownHosts yes > StrictModes yes Ntar di kabarin lagi yach .. soalnya gw juga baru belajar neh .. :) MOga moga berhasil.. Salam --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
