Skip to content

Latest commit

 

History

History
69 lines (39 loc) · 1.57 KB

README.md

File metadata and controls

69 lines (39 loc) · 1.57 KB

psb6351_env

Welcome to the PSB6351 class repository

We will use this repo to share code, submit homework assignments, and setup your environments

To begin you will need to setup git on your High Performance Computer (HPC) account

  1. Set up git on HPC

    Perform steps 2-4 in Setting up git.

  2. Set up your ssh key

    Make your passkey easy to remember. First Generate a new SSH key - Follow steps 1-4

    Next add your ssh key to your github account - Follow steps 1-8

    Next test your SSH connection - Follow steps 1-5

  3. Modify your ~/.ssh/config file

    ssh -T -p 443 [email protected]

    You should see:

    Hi username! You've successfully authenticated, but GitHub does not provide shell access.

    Add the following lines to your ~/.ssh/config file

    vi ~/.ssh/config

    Host github.com

    Hostname ssh.github.com

    Port 443

  4. Fork the psb6351_env repository

    In a terminal type

    cd place/to/keep/repository
    git clone ssh://[email protected]/PSB6351/psb6351_env.git
    cd psb6351_env
    git remote add upstream ssh://[email protected]/PSB6351/psb6351_env.git
  5. Chane repo configuration to ssh

    Open .git/config

    find url= entry under section [remote "origin"]

    Change it from

    url=https://github.com/PSB6351/psb6351_env.git

    to

    ssh://[email protected]/PSB6351/psb6351_env.git