# github 設定 ssh key 與 git clone 443 * 在code server上 * `ssh-keygen -t ed25519 -C "judy_cc_huang@wiwynn.com"` * `eval "$(ssh-agent -s)"` * 確認ssh agent有在跑 * 顯示`Agend pid XXXXX` * `ssh-add ~/.ssh/id_ed25519` * `cat ~/.ssh/id_ed25519.pub` * 把cat出來的 `ssh-ed25519 ...` copy到github設定New SSH key * github右上角頭像 - 下面Settings - 左邊SSH *  * 綠色按鈕New SSH key *  * Title寫這個ssh key的名字(judy_wiwynn) * Key裏面貼上剛剛copy的public key *  * [clone repository](https://docs.github.com/en/authentication/troubleshooting-ssh/using-ssh-over-the-https-port) * 測試ssh 443能不能用(加fingerprint) * `git clone ssh://git@ssh.github.com:443/` * 設定所有connection到github都走port443 * `vim ~/.ssh/config` , and add this section: ```= Host github.com Hostname ssh.github.com Port 443 User git ``` * You can test that this works by connecting once more to GitHub.com: `ssh -T git@github.com` * clone AMD * `git clone git@github.com:AMDESE/OpenBMC.git` * bitbake * `. setup sp5` * `bitbake obmc-phosphor-image`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up