From c5a266af4ae4f3d61835e4e36513ef548232dd95 Mon Sep 17 00:00:00 2001 From: Devang Mstryls Date: Wed, 17 Jan 2018 01:23:34 +0530 Subject: [PATCH] removed wrong commands and merged 2 points --- overview/codeanywhereui/terminal.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/overview/codeanywhereui/terminal.md b/overview/codeanywhereui/terminal.md index c77bef5..7d4d1f3 100644 --- a/overview/codeanywhereui/terminal.md +++ b/overview/codeanywhereui/terminal.md @@ -61,10 +61,9 @@ Putty config: 1. open your Terminal 2. type in ssh-keygen and you will create your public key 3. go to .ssh/id_rsa.pub and copy your entire key -4. In Codeanywhere, in Container's SSH, use command: cat .ssh/id_rsa.pub -5. use command vim authorized_keys -6. (type "A" or "I") paste your key in new line and Save (by pressing ESC, and entering :wq) -7. Locate SSH port number in Container's Info +4. In Codeanywhere, in Container's SSH, use command: vim /home/cabox/.ssh/authorized_keys +5. (type "A" or "I") paste your key in new line and Save (by pressing ESC, and entering :wq) +6. Locate SSH port number in Container's Info Now in order to connect to your box, you have to use the following command to create a tunnel from your local machine to your Container: ```sh