GithubHelp home page GithubHelp logo

Comments (3)

gpapin avatar gpapin commented on August 25, 2024

I have the same issue,

When I try to setup a new host then click on 'SSH' button I'm being asked for a password (I was using private key authentication so I wasn't sure what I needed to put in the password field so I had to create a password for my user ... ) Then When I hit 'connect' I have this error /usr/bin/ssh-copy-id: ERROR: No identities found I'm not sure what this means, and how to solve it ...

Any ideas ?

from websync.

furier avatar furier commented on August 25, 2024

@0x1gene it means exactly what is sais, it can not locate any ssh rsa identities for the current user.
Two reasons come to mind why this would happen.

  • You have no ssh identities created for the current user.
  • The ssh identities you have are located at a different path then whats expected.

like if your ssh identities are located under /root/.ssh/ but you are logged in as oxigene it would look for your ssh identities under /home/oxigene/.ssh/

Also, are you experiencing this with the Docker container or regular?

from websync.

behinddesign avatar behinddesign commented on August 25, 2024

sshpass -p 'mypass' ssh-copy-id -o StrictHostKeyChecking=no user@host

https://github.com/furier/websync/blob/master/lib/ssh-copy-id.js#L42

This was the only way I was able to get websync working in a docker environment. By default, sshpass wasn't able to send the password through to ssh-copy-id when it prompts for a fingerprint.

This obviously has it's downsides but without building a UI to confirm the fingerprint, it needs to be skipped.

from websync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.