less than 1 minute read

git@github.com: Permission denied (publickey)

image

git push ๋˜๋Š” git pull ํ•  ๋•Œ ๋ฐœ์ƒํ•˜๋Š” ์—๋Ÿฌ

git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

์ƒˆ๋กœ ssh key๋ฅผ ๋งŒ๋“ค์–ด์ค˜์•ผ ํ•ฉ๋‹ˆ๋‹ค.

ssh key ์ƒ์„ฑ

 ssh-keygen -t rsa -C "{๋ณธ์ธ์˜ ๊นƒํ—ˆ๋ธŒ ์ด๋ฉ”์ผ}"

์œ„ ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.

  1. ssh key ์ €์žฅ ์œ„์น˜ ์ง€์ • (์—”ํ„ฐํ•˜๋ฉด ๊ธฐ๋ณธ ์ง€์ •๋œ ์œ„์น˜์— ์ €์žฅ)

  2. ๋น„๋ฐ€๋ฒˆํ˜ธ ์ง€์ • (์—”ํ„ฐํ•ด์„œ ๋„˜๊ธฐ๊ธฐ ๊ฐ€๋Šฅ)

sshํ‚ค ํ™•์ธํ•˜๊ธฐ

cat ~/.ssh/id_rsa.pub

image

์œ„ ๋ช…๋ น์–ด๋กœ ๋‚˜์˜จ ํ‚ค๋ฅผ GitHub์— ๋“ฑ๋กํ•ฉ๋‹ˆ๋‹ค.

Settings -> SSH and GPC Keys -> New SSH key -> Key ๋ถ€๋ถ„์— ์œ„์—์„œ ํ™•์ธํ•œ sshํ‚ค ๋ณต๋ถ™ํ•˜๊ธฐ

image

Add SSH Key๋ฅผ ๋ˆŒ๋Ÿฌ์ค๋‹ˆ๋‹ค. (Title ์ž…๋ ฅํ•  ํ•„์š”๋Š” ์—†์Šต๋‹ˆ๋‹ค.)

image

๋‹ค์‹œ git clone์‹œ ์ •์ƒ์ ์œผ๋กœ clone์ด ๋ฉ๋‹ˆ๋‹ค.

image

  • ๋‹จ ์ค‘๊ฐ„์— git config --global --add safe.dircetory ์™€ ๊ฐ™์€ ์ปค๋งจ๋“œ๋ฅผ ์ถ”๊ฐ€ํ•˜๋ผ๊ณ  ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•˜๋Š”๋ฐ, ๊ทธ๋Œ€๋กœ ์ปค๋งจ๋“œ ์ฐฝ์— ๋ณต๋ถ™ํ•˜์—ฌ ํ•ด๊ฒฐํ•œ ๋’ค, ์ƒ์„ฑ๋๋˜ ํด๋”๋Š” ์ œ๊ฑฐํ•˜๊ณ , ๋‹ค์‹œ cloneํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.

์•„๋ž˜์™€ ๊ฐ™์ด ์„ฑ๊ณต์ ์œผ๋กœ diff-gaussian-rasterization์ด๋ผ๋Š” submodules๋ฅผ clone ์™„๋ฃŒํ•˜์˜€์Šต๋‹ˆ๋‹ค.

image

์„ค์น˜๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์ด ํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.

pip install ./diff-gaussian-rasterization
  • CUDA์™€ Pytorch ๋ฒ„์ „์„ ๋งž๊ฒŒ ํ™˜๊ฒฝ์„ ๊ตฌ์ถ•ํ•ด๋‘์—ˆ๋‹ค๋ฉด (Docker Container ํ™œ์šฉ ์ถ”์ฒœ), submodules๋ฅผ ์„ค์น˜ํ•  ๋•Œ๋„ ๋ณ„ ๋ฌธ์ œ์—†์ด ์„ค์น˜๊ฐ€ ์™„๋ฃŒ๋ฉ๋‹ˆ๋‹ค.

image

Leave a comment