Comments (4)
I've set this up currently so that my Github oauth token is in a separate, gitignored file, which is then required in my Capistrano deploy.rb file to put the repo_url together. So, I can now successfully deploy to our staging server without including sensitive information in the repo.
I'd still like to find out why I can't use the [email protected]:{github-organization}/{private-repo}.git
format for :repo_url
, with keys, when all of the SSH forwarding report's requirements seem to be met. If you need further info from me just let me know - and thanks again for any help!
from capistrano-ssh-doctor.
I'm having exactly the same issue, only thing is that I'm using gitlab.com istead of github.
Also is @buffler temporary fix not working for me:
[6656b180] remote: HTTP Basic: Access denied DEBUG [6656b180] fatal: Authentication failed for 'https://OAUTH:@gitlab.com/NAME/NAME.git/'
[cce6eb0e] fatal: unable to access 'https://NAME:PASSWORD/[email protected]/NAME/NAME.git/': Couldn't resolve host 'NAME'
from capistrano-ssh-doctor.
Same issue with set :repo_url, '[email protected]:{github-organization}/{private-repo}.git'
1. [success] `repo_url` setting ok
2. [success] ssh private key file exists
3. [success] `ssh-agent` process seems to be running locally
4. [success] `ssh-agent` process recognized by `ssh-add` command
5. [success] ssh private keys added to `ssh-agent`
6. [success] application repository accessible from local machine
7. [success] all hosts using passwordless login
8. [success] `forward_agent` ok for all hosts
9. [success] ssh agent successfully forwarded to remote hosts
10. [error] It seems Capistrano cannot access application git repository from these hosts:
Actions:
- make sure all the previous checks pass. That should make this one work too.
from capistrano-ssh-doctor.
I had some weird issues like this. As soon as I used bundler i.e. bundle exec cap staging deploy
it no longer prompted me for a ssh password and continued to work again.
from capistrano-ssh-doctor.
Related Issues (10)
- Refactor report class: extract messages out
- Please change `scm` setting to `:git`. HOT 5
- Tool throws an error. HOT 1
- Report should have colored output
- I am not receiving more information and still dont know the problem HOT 5
- Make sure that the `keys` file path existence is tested for each server
- If the wrong ssh private key is used, and login to the server fails, running the task will also error out
- TypeError: no implicit conversion of Array into String HOT 2
- Please change `scm` setting to `:git`. HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capistrano-ssh-doctor.