Skip to content
This repository has been archived by the owner on Mar 18, 2018. It is now read-only.

Ignores SSH key config #151

Closed
dklanac opened this issue Sep 2, 2017 · 6 comments
Closed

Ignores SSH key config #151

dklanac opened this issue Sep 2, 2017 · 6 comments

Comments

@dklanac
Copy link

dklanac commented Sep 2, 2017

I've referenced my SSH key in my config that I use for authenticating to my server.

shipit.initConfig({
    default: {
    key: '~/.ssh/id_rsa'
    ...

Capistrano is able to use this key just fine for my Rails app. But ShipIt seems to ignore it. I saw a similar issue with a proposed workaround (#126), but I'm not clear on how to use it.

I'm running macOS 10.12, node 8.2 and shipit-deploy 2.5.1 if that makes a difference.

Any ideas (other than the path which I've verified) why ShipIt would ignore my SSH key?

@gregberge
Copy link
Member

@dklanac hmm it's a bug should be fixed in v4, I gived you a workaround in #126

@aviramga
Copy link

@neoziro when will V4 be out?

@gregberge
Copy link
Member

@aviramga as soon as possible, I have a lot of work I need a day of two off to finish v4.

@aviramga
Copy link

@neoziro here is a workaround
add this to your shipitfile config

  gitConfig: {'core.sshCommand':"ssh -i <path-to-you-rsa-key>"}

Requires git >2.10 to work

@gregberge
Copy link
Member

Will be solved in v4.

@gregberge
Copy link
Member

shipitjs/shipit#156

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants