skip to main
|
skip to sidebar
{object: literal}
Friday, January 18, 2013
Permission denied (publickey) error when doing cap deploy
I encountered this when trying to do a capistrano deploy on one of client's server. This error means that the server that's trying to fetch from repository on Github does not have permission to do so. We can resolve this with either:
Adding server's public key to the Github repo's list of deploy keys
.
Use ssh agent forwarding so Github thinks it's you who's doing the deploy
.
If ssh-agent isn't running, run the following in terminal.
exec ssh-agent bash
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
Blog Archive
►
2014
(5)
►
May
(1)
►
March
(2)
►
February
(2)
▼
2013
(6)
►
November
(3)
►
February
(2)
▼
January
(1)
Permission denied (publickey) error when doing cap...
►
2012
(42)
►
December
(2)
►
November
(1)
►
October
(9)
►
September
(1)
►
August
(9)
►
July
(3)
►
June
(7)
►
May
(4)
►
March
(1)
►
February
(4)
►
January
(1)
►
2011
(29)
►
December
(1)
►
October
(2)
►
September
(2)
►
July
(1)
►
June
(2)
►
May
(3)
►
April
(2)
►
March
(2)
►
February
(3)
►
January
(11)
►
2010
(102)
►
December
(21)
►
November
(5)
►
October
(3)
►
September
(4)
►
August
(3)
►
July
(5)
►
June
(5)
►
May
(10)
►
April
(5)
►
March
(17)
►
February
(12)
►
January
(12)
►
2009
(143)
►
December
(1)
►
November
(10)
►
October
(26)
►
September
(68)
►
August
(20)
►
July
(15)
►
April
(3)
►
2008
(2)
►
March
(2)