JagTrack icon indicating copy to clipboard operation
JagTrack copied to clipboard

ssh key is invalid

Open tiamatschosen opened this issue 12 years ago • 8 comments

it says there are line breaks in it . but it adds them when i paste it in the box. ive manually removed them after pasting but it still says invalid

tiamatschosen avatar Mar 27 '12 00:03 tiamatschosen

Are you copying from the id_rsa.pub file? If so, it should have no line breaks.

Otherwise, bring up Git Bash and type this:

cat ~/.ssh/id_rsa.pub > /dev/clipboard

and you should have the entire contents of the file copied to the clipboard, without line breaks.

Tell me if there are further issues.

hjc avatar Mar 27 '12 01:03 hjc

got past taht part. when i try to clone this is what i get:

Ray.Bigelow@JC-MCS128-RAY ~ $ git clone [email protected]:hjc1710/jagtrack Cloning into 'jagtrack'... ERROR: Repository not found. fatal: The remote end hung up unexpectedly

am i missing a step

tiamatschosen avatar Mar 27 '12 01:03 tiamatschosen

You have to initialize a repository with:

git init

Navigate to the desired folder, type that and then go.

hjc avatar Mar 27 '12 01:03 hjc

did that but when i pull its still gives a fatal error

tiamatschosen avatar Mar 27 '12 01:03 tiamatschosen

What is the error?

If you haven't set up a remote with:

git add remote github [email protected]:hjc1710/JagTrack.git

And then use:

git pull github master

If you have further issues, try using:

git checkout master

First.

hjc avatar Mar 27 '12 01:03 hjc

i set up the remote and i set up a folder on the desktop when i did a pull the folder is still empty i even set up a branch but in still not seeing where anything is that downloaded

tiamatschosen avatar Mar 27 '12 01:03 tiamatschosen

how do i get it to go into the folder i made on my desktop. i created with ith git init but when i didi a pull master it the folder is still empty

tiamatschosen avatar Mar 27 '12 02:03 tiamatschosen

Try running a fetch first:

git fetch origin

Otherwise, what is it saying?

hjc avatar Mar 27 '12 03:03 hjc