Giter Club home page Giter Club logo

Comments (13)

mpreisler avatar mpreisler commented on May 23, 2024

Hi,
this is expected behavior right now unfortunately. I can make remote scan work using ssh from cygwin but the experience is too horrible to be in a release. It repeatedly asks for credentials for every task it needs to do. On Linux and OSX it authenticates once and then shares it through a control file. This is not possible on Windows right now. At least not with the cygwin openssh.

It all ties to this bug https://bugzilla.mindrot.org/show_bug.cgi?id=1278#c7

The experience is decent if you can setup cygwin openssh with a password-less private key. Doing that on Windows is not trivial. In the future I hope to implement remote scan using putty. It requires a completely new remote scan code just for Windows but it should provide a decent usability.

If you know about an openssh port for Windows that supports -o ControlMaster I want to know about it :-)

I will keep this bug open to track Windows remote scan support progress.

from scap-workbench.

jeffstoner avatar jeffstoner commented on May 23, 2024

Does this hold any possibility of working?
http://www.dereckson.be/blog/2013/08/31/use-ssh-agent-on-windows/

from scap-workbench.

mpreisler avatar mpreisler commented on May 23, 2024

That might work for keys.

However, I think users will overwhelmingly want to use password auth. Especially on Windows where SSH keys are very rare. As the first step I want to get password auth working, then I will worry about ssh key auth.

We could really use somebody from openssh or cygwin or both here.

from scap-workbench.

jeffstoner avatar jeffstoner commented on May 23, 2024

For what it's worth, I'm willing to help test/document this aspect of the tool (that is, using Workbench from Windows to remote scan Linux servers.) If I can assist, point me in a direction.

from scap-workbench.

mpreisler avatar mpreisler commented on May 23, 2024

Unfortunately we can't move forward with this ticket without patching either OpenSSH or Cygwin. Emailed Corinna Vinschen from the Cygwin project and it seems patching OpenSSH is the easier route. The Cygwin issue regarding passing descriptors via AF_LOCAL/AF_UNIX sockets is fairly old and hard to solve.

As I don't know the OpenSSH codebase, any help is appreciated.

from scap-workbench.

jeffstoner avatar jeffstoner commented on May 23, 2024

While this is only an announcement of an intent, if they hold to their word, it may provide another avenue to explore: http://blogs.msdn.com/b/looking_forward_microsoft__support_for_secure_shell_ssh1/archive/2015/06/02/managing-looking-forward-microsoft-support-for-secure-shell-ssh.aspx

from scap-workbench.

mpreisler avatar mpreisler commented on May 23, 2024

@Jakuje patched ssh to work on Windows.

See https://github.com/Jakuje/stuff/blob/master/openssh_without_fdpass.patch

I am looking into the patch, so far it looks very promising.

from scap-workbench.

mpreisler avatar mpreisler commented on May 23, 2024

@jeffstoner I have good news :-) Thanks to the work of @Jakuje we now have a testing release for Windows that can do remote scan! Check out http://martin.preisler.me/2015/03/scap-workbench-1-1-0/ and http://martin.preisler.me/wp-content/uploads/2015/03/scap-workbench-1.1.0-win32-remote-scan-testing.zip

From my testing I can scan Fedora and RHEL6 remotely from a Windows7 box. Can you confirm that it works for you? Keep in mind that the askpass dialog is not polished and kind of strange, when it asks about host confirmation you have to type yes into the askpass dialog. This will be improved for the final release.

sw_win_remote_scan

from scap-workbench.

jeffstoner avatar jeffstoner commented on May 23, 2024

Sweeeeeeeeeeeeeeeet!
Downloaded, installed and executed on Win7Pro (against a server that didn't have openscap installed but it did connect.)

I'll start running some tests and update this ticket with results.

Thanks again!

from scap-workbench.

mpreisler avatar mpreisler commented on May 23, 2024

Hi @jeffstoner

Any news?

from scap-workbench.

mpreisler avatar mpreisler commented on May 23, 2024

Hi @jeffstoner
I have heard about some minor issues but it looks like this is worthy of inclusion in the end. Do you have any feedback?

I want to solve a few remaining issues and then release 1.1.1 with the remote scan support on Windows.

from scap-workbench.

jeffstoner avatar jeffstoner commented on May 23, 2024

Sorry. I was under the gun to meet a deadline for my project. I was anticipating using this when I build the servers but that's waiting on an executive decision (go figure.) Let me dig up some older (non-production) servers that I can munge.

from scap-workbench.

mpreisler avatar mpreisler commented on May 23, 2024

This has been fixed.

from scap-workbench.

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.