Script and process to connect successfully with codeanywhere ssh
- Type in
ssh-keygen
and you will create your public key - Type
cat ~/.ssh/id_rsa
and copy your entire key
Type:
$ vim authorized_keys
Type "A" or "I" paste your key in new line and Save (by pressing [CTR + C], and entering :wq)
$ sudo nano /etc/ssh/sshd_config
Modify same as this
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication yes
#PermitEmptyPasswords yes
#PasswordAuthentication no
After, change the UNIX password
$ sudo su
# passwd cabox
$ git clone https://github.com/sjdonado/Ssh-connect-codeanywhere.git
$ cd Ssh-connect-codeanywhere
$ sh install.sh
Locate SSH port number in Container's Info, and type:
$ codeanywhere