Code Monkey home page Code Monkey logo

Comments (12)

dcorking avatar dcorking commented on August 21, 2024 4

@kauser-cse-buet He wrote that he solved it: 'My client did not have a ssh key.' so we can imagine he used ssh-keygen :)

from tmate.

martinos avatar martinos commented on August 21, 2024 3

Yesterday, I have found what was causing the issue. My client did not have a ssh key.

Oups

from tmate.

nviennot avatar nviennot commented on August 21, 2024 1

nevermind the patching. libssh works just fine.

ssh clients work like that:

  • the client tries the "none" auth method
  • if auth is required, server must reply with the possible other auth methods "pubkey, password, etc"
  • the client tries the next possible available auth method. (but not "none").

the problem if I allow no authentication is that I will never have the chance to grab a public key (which will be very useful in the future when html5 comes in the mix), and also I might increase noise due to ssh bruteforcing bots.

from tmate.

webknjaz avatar webknjaz commented on August 21, 2024 1

@annacruz use ssh -i ~/.ssh/your_key ... and it will ask for a key password. Also if you're using ssh-agent, you can ssh-add ~/.ssh/your_key upfront, enter password and ssh-agent daemon will remember your key decrypted in memory and then ssh will be able to use it w/o prompting for a password

from tmate.

nviennot avatar nviennot commented on August 21, 2024

Hum... I don't really understand why this would happen :(

from tmate.

nviennot avatar nviennot commented on August 21, 2024

Okay great :)

from tmate.

rmmh avatar rmmh commented on August 21, 2024

Having to run ssh-keygen is annoying. It would be better if tmate accepted both pubkey and password auth, accepting any key and any password.

from tmate.

nviennot avatar nviennot commented on August 21, 2024

I could make the authentication optional by patching libssh, this might be better

from tmate.

apennebaker-ni avatar apennebaker-ni commented on August 21, 2024

Same problem for me and my friend.

from tmate.

stdint avatar stdint commented on August 21, 2024

Same problem as well... It is a little annoying that the other party needs to run ssh-keygen...
But doesn't matter...I guess...

from tmate.

kauser-cse-buet avatar kauser-cse-buet commented on August 21, 2024

Hi, @martinos ,

How you solved the problem. Can you share please?

from tmate.

annacruz avatar annacruz commented on August 21, 2024

I'm having this issue with a key with passphrase could someone help me?

from tmate.

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.