Giter Site home page Giter Site logo

Add support for bad ssh servers about ssh HOT 5 CLOSED

amphp avatar amphp commented on August 30, 2024
Add support for bad ssh servers

from ssh.

Comments (5)

kelunik avatar kelunik commented on August 30, 2024

Do you know which versions are affected?

from ssh.

Ekstazi avatar Ekstazi commented on August 30, 2024

From https://www.openssh.com/releasenotes.html

Changes since OpenSSH 7.4

Fix various fallout and sharp edges caused by removing SSH protocol 1 support from the server, including the server banner string being incorrectly terminated with only \n (instead of \r\n), confusing
error messages from ssh-keyscan bz#2583 and a segfault in sshd
if protocol v.1 was enabled for the client and sshd_config contained references to legacy keys bz#2686.

from ssh.

kelunik avatar kelunik commented on August 30, 2024

Thanks, so the first fixed version is OpenSSH 7.5/7.5p1 (2017-03-20), which is more recent than I expected. I guess it's fine to fix then. Do you want to send a PR?

from ssh.

Ekstazi avatar Ekstazi commented on August 30, 2024

yes. I'll do it.

from ssh.

kelunik avatar kelunik commented on August 30, 2024

Thanks! I've fixed the comment and pushed another commit avoiding an infinite loop if the connection breaks during the read.

from ssh.

Related Issues (12)

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.