Coder Social home page Coder Social logo

Comments (7)

dooblem avatar dooblem commented on August 23, 2024

Hi,
Bsync uses it's own persistent socket internally, that's probably why it conflicts with your own socket.

Maybe we should add flag to disable it. I will take a look at it when I have time.

from bsync.

dooblem avatar dooblem commented on August 23, 2024

Is it possible for you to use an ssh key for authenticating? With an ssh key the password prompt is not a problem anymore.

Otherwise the only solution I see it too add a flag, say, -m, to disable bsync internal controlmaster connexion.
I don't see any way of detecting that automatically, I mean in a simple and reliable way.

What do you think?

from bsync.

senorsmile avatar senorsmile commented on August 23, 2024

It would be great if this were configurable. For example, the ansible project allows you to override the default ssh_args in a .conf file. Either that or a simple command line flag would definitely suffice.

from bsync.

dooblem avatar dooblem commented on August 23, 2024

There is now a -o option to add custom ssh options. We may also add an option to disable controlmaster ssh optimisation.

from bsync.

senorsmile avatar senorsmile commented on August 23, 2024

Fantastic! I should be able to test this shortly.

Are the changes in master or one of the branches?

from bsync.

dooblem avatar dooblem commented on August 23, 2024

-o option is in master.

from bsync.

 avatar commented on August 23, 2024

couldn't detection be done like this:

$ ssh host -G | grep ^controlmaster
controlmaster false

vs.

$ ssh host -G | grep ^controlmaster
controlmaster auto

man ssh:
-G Causes ssh to print its configuration after evaluating Host and Match blocks and exit.

from bsync.

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.