Tuesday, 2 June 2015

debug codeship

Then, it will show:

keep refreshing, then you will see this later:

if you put this ssh command into you command line and run it, it will ask you for password.

Actually, codeship uses SSH key rather than password.

Then you need find out your SSH key for login.

Run this first to check if you have a ssh key or not: (run on your local machine)

cat ~/.ssh/id_rsa.pub

You may or may not be able to see this:

if you see different result, then you need generate a ssh key by run this:  (it doesn't impact other programs which use ssh key. because we have verified. so make sure you have checked, you don't have ssh key on your local PC first.)

ssh-keygen -b 8192

After that, rerun:

cat ~/.ssh/id_rsa.pub

Then, you should be able to see the key. but don't copy from your command line tool directly.

Find out the file and open it by plan text editor, and "ctrl+a" "ctrl+c" (MAC users should use cmd+a and cmd +c) to copy all.

Then access codeship account setting page:

Then, paste here:

Then run the ssh command again:

           ssh rof@ -p 99999

You need type "yes" when you see this:

       Are you sure you want to continue connecting (yes/no)?

Then you should be able to see:

Your project is in "~/clone" you also can find it here "/home/rof/clone"

No comments:

Post a comment