latest 13 messages by juzemack
+
[2016-07-04T15:31:29Z]
juzemack
I know it is incredibly bad practice, but for testing purposes I put my root ssh key in github, and it worked. Since then I have removed it.
+
[2016-07-04T15:30:44Z]
juzemack
through that I found somewhere that it was looking in root/.ssh instead of home/myuser/.ssh
+
[2016-07-04T15:30:14Z]
juzemack
I should have taken a note on that, but initially it was linking a file struct on my VPS to a github repository, after following steps to set up SSH, I constantly got permission denied errors.
+
[2016-07-04T15:29:01Z]
juzemack
hmm
+
[2016-07-04T15:26:31Z]
juzemack
do you know of a git config file that may be the cause? by default pointing to root users ssh folder?
+
[2016-07-04T15:25:56Z]
juzemack
I had noticed through plugging around that it was referring to root/.ssh instead of the current users folder "/home/myuser/.ssh
+
[2016-07-04T15:22:27Z]
juzemack
Im not a beginner, but kinda new to github integration with my ubuntu server here
+
[2016-07-04T15:22:08Z]
juzemack
agreed
+
[2016-07-04T15:22:07Z]
juzemack
yes
+
[2016-07-04T15:22:01Z]
juzemack
not sure
+
[2016-07-04T15:21:27Z]
juzemack
not sure if there is a git config section where I can point it to a specific non root user
+
[2016-07-04T15:20:40Z]
juzemack
im logged into my VPS under a different user than root. I then create my ssh key with my non root user and add that to my keys on github. Then when I go to make a push or what ever, it says permission denied... I find that by default when i make git calls, it uses my root ssh key instead of the one located in /home/username/.ssh
+
[2016-07-04T15:14:46Z]
juzemack
Hey all, does anyone know how to switch which sshkey github refers to? my default calls to github for pushes refers to my root user .ssh folder, where as I want it to refer to my current users ssh key