Cara Connect VPS Codeanywhere

Published on 4 October 2021 12:00 AM
# Lewat Putty

- Buka putty key generator
- Generate key
- Save private key
- Salin public key openssh
- Buka IDE Codeanywhere
- nano ~/.ssh/authorized_keys
- Paste public key openssh (nomor 4)
- Buka Putty
- Isi hostname dan port (hostname : host{n}.codeanyhost.com)
- Dikiri, Connection - SSH - Auth
- Browse, buka Private key yg sudah di save di no 3
- Open
- Login sebagai cabox
- Vps akan terkoneksi
# Lewat CMD

- Buka CMD
- Ketik ssh-keygen
- cd .ssh && notepad id_rsa.pub
- Salin isi id_rsa.pub
- Buka IDE codeanywhere
- nano ~/.ssh/authorized_keys
- Paste public key openssh (nomor 4)
- Buka CMD lagi
- ssh cabox@host{n}.codeanyhost.com -p {port}
- Vps akan terkoneksi