Comments (16)
From https://trello.com/c/z5LrlWMy/275-spaces-work:
ssh-keyscan github.com >> ~/.ssh/known_hosts
from devspace.
Just a note - this error can happen if You forgot to add Your ssh key to the repo You are trying to communicate with :)
from devspace.
thank you that works ;-)
from devspace.
Just typing "yes".
from devspace.
From https://trello.com/c/z5LrlWMy/275-spaces-work:
ssh-keyscan github.com >> ~/.ssh/known_hosts
Your amazing man , you made my day , thanks a lot
from devspace.
From https://trello.com/c/z5LrlWMy/275-spaces-work:
ssh-keyscan github.com >> ~/.ssh/known_hosts
Thank you so much for this.
I've been haunted by the error for quite some time.
from devspace.
@joshmoore how is this any safer than just answering the prompt with yes?
Either way, we are trusting that there is absolutely no corruption in our connection to github.com, what this security feature is made to address I thought?
from devspace.
Hmm.... sounds like there's something else going on here. By my count, you've ok'd the authenticity at last twice but it's still not asking for confirmation which is weird. The only thing I can think of off-hand is if there are different users/machines/contexts by which known_hosts
somehow changes.
I will note that GitHub itself has improved there docs around this in case there's anything there that might help you:
~Josh
from devspace.
it works thanks bro
from devspace.
Thank you!
from devspace.
looks like too early enthusiasm. I started fresh devspace deployment and having the same problem now. Running manually
bash-4.1$ /home/slave/.local/bin/scc merge develop --no-ask --reset -S success-only --push develop/merge/trigger
doesn't ask me the above question but still failing
from devspace.
@joshmoore thank u, it work!
from devspace.
Hi @Xerus2000. You're right that ssh-keyscan github.com >> ~/.ssh/known_hosts
isn't safer at all. What this issue doesn't make clear though is that @aleksandra-tarkowska was looking for an automated way to start a fresh docker container which hasn't yet been primed with a known_hosts
yet, i.e. there is no prompt that we can answer. This is a workaround at best.
from devspace.
I've been having this problem, but it doesn't ask if I want to continue. It just hangs there. I ran the ssh-keyscan command and I see the entry in the known_hosts file, but I still get the authenticity error. Even restarted my computer to no avail.
I also tried the test: ssh -T [email protected]
and got this output:
<name>@<machine> ios-sportsbook % ssh -T [email protected]
Warning: Permanently added the RSA host key for IP address '140.82.114.3' to the list of known hosts.
Hi <githubUser>! You've successfully authenticated, but GitHub does not provide shell access.
Tried my git clone, but still got the error: The authenticity of host 'github.com (140.82.114.3)' can't be established. And it never asks if I want to continue
from devspace.
ssh-keyscan github.com >> ~/.ssh/known_hosts
just leads to another error
npm WARN prepare removing existing node_modules/ before installation
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t ssh://[email protected]/kleros/dispute-resolver-interface-contract.git
npm ERR!
npm ERR! Warning: Permanently added the ECDSA host key for IP address '140.82.121.4' to the list of known hosts.
npm ERR! [email protected]: Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
npm ERR! exited with error code: 128
Just run ssh [email protected]
instead
from devspace.
Hi @mpalenov. Sounds like there's more involved in your case. For example, the ssh-keyscan github.com >> ~/.ssh/known_hosts
should have prevented npm ERR! Warning: Permanently added the ECDSA host key for IP address '140.82.121.4' to the list of known hosts.
Perhaps it was run as a separate user or in a separate context? Also the error npm ERR! [email protected]: Permission denied (publickey).
most likely comes from a missing SSH key somewhere. But if you are in an interactive shell, you're right: "Just run ssh [email protected]
instead"
from devspace.
Related Issues (20)
- ssh-agent HOT 6
- Use devspace as validator rather then omero-build? HOT 2
- Don't make persistent changes to the build environment in jobs
- Set POSTGRES_PASSWORD
- Setup golden DB in merge-ci HOT 1
- testng report doesn't show on idr-ci
- Inline omero-install content
- Increase default PSQL version HOT 3
- Default nexus admin password HOT 4
- Jenkins-ci upgrade HOT 5
- Nexus: add cleanup policy strategy
- Devspace landing page HOT 2
- Self-contained internal git repository HOT 1
- devspace travis job HOT 2
- Remove multi-ice-config
- Add prune to submodule step
- Bump swarm-client plugin HOT 2
- Enable robot tests HOT 5
- Upgrade to devslave 0.4.0
- nginx Docker image broken HOT 1
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 devspace.