How to transfer a file in Terminal Proxy sessions using SCP
- 1 minute to read
- Print
- DarkLight
- PDF
How to transfer a file in Terminal Proxy sessions using SCP
- 1 minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
In this document, you’ll find a step-by-step guide on how to perform file transfer using SCP command in remote Terminal Proxy sessions.
Requirements
- Terminal Proxy type credential active.
Transfer via SCP
To transfer a file using SCP from a workstation to a destination server, two steps are required.
- In the first step, the file is uploaded to senhasegura using the user's terminal proxy.
- Second step, the user must connect to senhasegura Terminal Proxy to upload the same file to a destination server.
- To use the
scp
command, use the syntax below, replacing the strings with:
String | Description |
---|---|
file_name | File to be transferred. |
senhasegura_vault | Hostname or IP address of the senhasegura vault. |
senhasegura_user | User of the senhasegura vault. |
file_destination | Location where the file should be transferred. |
- Open the command prompt application of your preference.
- Enter the following command line to upload a file to the senhasegura vault:
scp file_name senhasegura_user@senhasegura_vault:~
- Type your password.
- Press the Enter key to start.
- Enter the following command to download a file from the senhasegura vault to the requestor's workstation:
scp senhasegura_user@senhasegura_vault:file_name file_destination
- Type your password.
- Press the Enter key to start.
Attention
The SCP syntax doesn’t support Multihop connection string, so these two steps become mandatory. Use SFTP transfer for a better experience.
The senhasegura Terminal Proxy also offers another type of file transfer via SFTP, to find out how to perform this, access the How to transfer a file in Terminal Proxy sessions using SFTP document.
Do you still have questions? Reach out to the senhasegura Community.
Was this article helpful?