-
Notifications
You must be signed in to change notification settings - Fork 7
Sftp private key #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
bajram-adapt
wants to merge
5
commits into
data-integrations:develop
Choose a base branch
from
AdaptiveScale:sftp-privateKey
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Sftp private key #12
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
5bcdca1
first commit
77381d9
adding privateKey functions to SFTP-Action, and new SCP action plugin
fc90da8
Merge pull request #1 from bajram-adapt/adapt
bajram-adapt e5469a5
Changed formatting
ef680a3
Merge pull request #2 from bajram-adapt/adapt
bajram-adapt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# SCP Remote to Remote | ||
|
||
Description | ||
----------- | ||
This Action will connect to a Bastion Host and execute a SCP command over SSH to copy a file path from Host A to Host B | ||
|
||
Use Case | ||
-------- | ||
The Use Cases for this Plugin is when we want to connect to a Bastion Host in order to execute an SCP command that will copy files between to other Remote hosts. | ||
|
||
Properties | ||
---------- | ||
| Configuration | Required | Default | Description | | ||
| :------------ | :------: | :------ | :---------- | | ||
| **Bastion Host** | **Y** | None | This is the Hostname for the Bastion host that will be executing the SCP command. Can be a hostname or IP Address | | ||
| **Port** | **N** | 22 | Specifies the Port that will be used. Defaults to 22 | | ||
| **Bastion User Name** | **Y** | None | Specifies the Bastion Hosts User Name. | | ||
| **Private Key** | **Y** | None | The private RSA key to be used to connect over SHH to the Bastion host. This should be an RSA key. | | ||
| **Passphrase** | **N** | None | Passphrase to be used with the Private RSA key if a Passphrase was setup when the key was created. | | ||
| **Compression Flag** | **N** | None | Flag for SCP command to enable compression of files. | | ||
| **Verbose Flag** | **N** | None | Flag for SCP command to enable verbose mode which extends Logs. | | ||
| **Directory Flag** | **N** | None | Flag for SCP command to enable movement of directories. | | ||
| **Host A User Name** | **Y** | None | The User Name of Host A. This is the host that the source files are on that need to be moved | | ||
| **Host A Host** | **Y** | None |The Hostname of Host A. Can be a hostname or IP Address| | ||
| **Source Path** | **Y** | None | The Absolute Path of the File that needs to be copied. | | ||
| **Host B User Name** | **Y** | None | The User Name of Host B. This is the host that the source files are being copied to | | ||
| **Host B Host** | **Y** | None |The Hostname of Host B. Can be a hostname or IP Address| | ||
| **Destination Path** | **Y** | None | The Absolute Path of the location the files need to be copied to. | | ||
|
||
|
||
|
||
Usage Notes | ||
-------- | ||
|
||
In order to perform SCP between to remote hosts, we require a Bastion Host. An SCP command based on the configuration supplied will be created to perform a file copy. Authentication setup between all hosts will need to be setup before hand. This includes being able to SSH on the bastion host with the private key being supplied in the configuration and have the 2 remote hosts that files are being moved on having known host/authenticated_keys setup for SSH communication. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a
<scope>test</scope>
for test only dependencyThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added