Setelah Membaca Akses server Oracle Cloud dengan Public Key mari kita rubah akses server dengan putty dengan mengkatifkan password Root dan user (ubuntu)
cmd>ssh ubuntu@ip-public
ubuntu@instance-20201129-1304:~$ sudo passwd root
Enter new UNIX password:
Retype new UNIX password:
ubuntu@instance-20201129-1304:~$ sudo passwd ubuntu <ubah password user bernama ubuntu>
Enter new UNIX password:
Retype new UNIX password:
Seting SSH sudah benar apa belum tulisan nya di dalam file konfigurasi nya, mari di cek
ubuntu@instance-20201129-1304>sudo nano /etc/ssh/sshd_config
atau mode root
root@instance-20201129-1304>nano /etc/ssh/sshd_config
Rubah tulisan di dalam file tersebut, agar menjadi
PermitRootLogin Yes
PasswordAuthentication Yes
setelah itu
root@instance-20201129-1304>service ssh restart
setelah itu tutup CMD nya dan buka lewat Putty port SSH. Insert IP address nya (IP public)



Tidak ada komentar:
Posting Komentar