Git Product home page Git Product logo

Comments (6)

speed47 avatar speed47 commented on September 24, 2024

Yes there is, for SCP.

Even if all the needed information is in the above documentation of the scp plugin, this should probably get a specific howto documentation page with examples. The key takeaways are:

  • One should have SSH access through the bastion (via personal or group access) to some host to be able to scp from/to it
  • One should also have the explicit scp access to this host, via the same way that its SSH access to it (personal or group), those kind of accesses can be added/removed with --scpup and --scpdown (instead of --user) in the groupAddServer and accountAddPersonalAccess commands
  • One must get its personalized scp script by running the --osh scp plugin
  • Then use scp with the script, scp -S ~/scriptpath <usual scp commands>

from the-bastion.

dwydler avatar dwydler commented on September 24, 2024

@speed47
As i read/understand it correct the solutions is primary for linux workstations.
Do you have a workaround/suggestion for windows workstations?

from the-bastion.

roybj avatar roybj commented on September 24, 2024

Yes there is, for SCP.

Even if all the needed information is in the above documentation of the scp plugin, this should probably get a specific howto documentation page with examples. The key takeaways are:

  • One should have SSH access through the bastion (via personal or group access) to some host to be able to scp from/to it
  • One should also have the explicit scp access to this host, via the same way that its SSH access to it (personal or group), those kind of accesses can be added/removed with --scpup and --scpdown (instead of --user) in the groupAddServer and accountAddPersonalAccess commands
  • One must get its personalized scp script by running the --osh scp plugin
  • Then use scp with the script, scp -S ~/scriptpath <usual scp commands>

You're right , I already have checked and SCP works fine from the command line.

from the-bastion.

roybj avatar roybj commented on September 24, 2024

@speed47
As i read/understand it correct the solutions is primary for linux workstations.
Do you have a workaround/suggestion for windows workstations?

Exactly, I would also like to know if Windows, specially clients like WinSCP are supported or not.

from the-bastion.

speed47 avatar speed47 commented on September 24, 2024

Correct, I was explaining this with the command line in mind.
From Windows, it should also work out of the box from WSL (through Ubuntu or any other Linux OS installable under WSL).

Unfortunately I'm not expecting this to work with WinSCP or other similar software, as I see no way of "hooking" into its SSH negociation to handle the bastion stuff under the hood. This is what the -S command-line option of scp is for, and AFAIK it's not implemented in any Windows GUI apps.

from the-bastion.

speed47 avatar speed47 commented on September 24, 2024

This is now part of the documentation.

from the-bastion.

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.