Github Deploy Key

Jim Kang
2 min readMar 3, 2022

Let’s say Micky Mouse use his github account on a server, and then next day he was fired from Disney, wouldn’t that be something if you’re taking over the deployment? This is why you need github deploy key — A key you use on server to do git stuff.

basically deploy key = server public ssh key

1. Generate SSH Key

We want to generate a new ssh key instead of using the default id_rsa because github doesn’t allow same key to be used twice. Maybe you have 2+ repo in same server, then sharing the same deploy key will not work. To generate…

--

--

Jim Kang

love writing bit sized programming memo, acoustic guitarist, proud daddy of 5 and great listener (to my kids)