mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 08:25:27 +02:00
[GH-ISSUE #154] SFTP/SCP through Bastion #33
Labels
No labels
answered
bug
documentation
enhancement
enhancement
feature
feature
kept-open-for-info
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/the-bastion#33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @roybj on GitHub (Mar 6, 2021).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/154
The Bastion works fine for managing SSH connections. But is there way to manage SFTP/SCP through the bastion ?
@speed47 commented on GitHub (Mar 8, 2021):
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:
--scpupand--scpdown(instead of--user) in thegroupAddServerandaccountAddPersonalAccesscommands--osh scppluginscp -S ~/scriptpath <usual scp commands>@dwydler commented on GitHub (Mar 8, 2021):
@speed47
As i read/understand it correct the solutions is primary for linux workstations.
Do you have a workaround/suggestion for windows workstations?
@roybj commented on GitHub (Mar 8, 2021):
You're right , I already have checked and SCP works fine from the command line.
@roybj commented on GitHub (Mar 8, 2021):
Exactly, I would also like to know if Windows, specially clients like WinSCP are supported or not.
@speed47 commented on GitHub (Mar 9, 2021):
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
-Scommand-line option ofscpis for, and AFAIK it's not implemented in any Windows GUI apps.@speed47 commented on GitHub (Jun 30, 2021):
This is now part of the documentation.