uwhpsc-2016 / lectures

Notes, slides, and code from the in-class lectures.
7 stars 21 forks source link

Pulling from/Pushing to my Private Repo on uwhpsc-2016 from a Local Computer instead of SageMathCloud Computer #7

Open alyfarahat opened 8 years ago

alyfarahat commented 8 years ago

Any chance this is possible if I provide my ssh public key? @cswiercz I am asking for this since sometimes I have real issues accessing sagemathcloud.

jlombs commented 8 years ago

The course policy is just that Chris et al won't play sysadmin for you to make sure everything is working smoothly on your own rig dependency wise, but if you can get it all up and running yourself, then I don't think there's an issue.

At least I hope not, because I've been doing the same thing. SMC just refuses to work for me. It either hangs at login, logs in but fails to launch a project, or if I'm lucky enough to get far enough to launch a terminal, it bails, times out, or is super laggy and unfriendly to actually getting work done. I've spent more hours trying to get a workflow going on SMC than I have actually doing any of the homeworks so far!

alyfarahat commented 8 years ago

Interestingly, I am able to clone my private homework repo using ssh and fail to clone it using https, which doesn't make much sense to me so far. Anyway, now the repo is locally on my computer. I definitely won't ask any questions to setup my local environment. All I asked for is a repo access issue.

cswiercz commented 8 years ago

@jlombs I appreciate the sysadmin comments, though, @alyfarahat 's question turns out to be about something slightly different. (Or maybe grey area...) I'm sorry that SMC hasn't been working out as well as I had hoped. I will email the SMC folks about this but I doubt that much can be done due to the traffic that this class alone is providing for their servers.

@alyfarahat There shouldn't be anything that I need to do on my end. Start by following the Generating an SSH Key instructions on GitHub Help. Once you have an ssh key on SMC which is registered with GitHub you can then add the "ssh version" of your repo as a remote:

git@github.com:uwhpsc-2016/homework2-alyfarahat.git

Pushing to and pulling from this remote will use ssh for authentication, thus making it so you don't have to enter your password all the time.