Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
SCP
Note |
---|
Devices running on Windows Server 2019, Windows 10 1809 and olderhigher, the SCP command is included in the pre installed OpenSSH client. |
For transferring files using SCP protocol, you can use scp utility built into the OS. Use the standard command to copy, but instead of the resource address, specify the SSH Proxy address:
For Windows:
Code Block |
---|
scp -r C:\temp\configs\ james.miller.indeed-id.local:/tmp scp -r С:\path_to_local_file user_name@address_ssh_proxy:/path_to_copy_on_resource |
For Linux:
Code Block |
---|
scp -r /tmp james.miller@sshproxy.indeed-id.local:/tmp scp -r /path_to_local_file user_name@address_ssh_proxy:/path_to_copy_on_resource |
Parameter -r means recursive copying. i.e. copy entire directories.
In the next step, after successful authentication, select the resource for file transfer.
SFTP
For transferring files you can use sftp utility on devices running on Windows
For transferring files:
- Run a Command Line
Connect to the SSH Proxy server
Code Block sftp james.miller@sshproxy.indeed-id.local
- Select a resource for connection
Transfer files using the command:
Code Block put -r C:\temp\configs\ /tmp put -r path_to_local_files path_to_files_on_resource
Parameter -r means recursive copying. i.e. copy entire directories.
PSCP
Note |
---|
For the PSCP and PSFTP commands the PuTTY package must be installed on the device |
For transferring files you can use pscp utility on devices running on Windows
Command for transferring files:
Code Block |
---|
pscp -r C:\temp\configs\ james.miller@sshproxy.indeed-id.local:/tmp pscp -r С:\path_to_local_file user_name@address_ssh_proxy:/path_to_copy_on_resource |
Parameter -r means recursive copying. i.e. copy entire directories.
PSFTP
For transferring files you can use psftp utility on devices running on Windows
- Run a Command Line
- Enter command psftp
Connect to the SSH Proxy server
Code Block open james.miller@sshproxy.indeed-id.local
- Select a resource for connection
Transfer files using the command:
Code Block put -r C:\temp\configs\ /tmp/configs put -r path_to_local_files path_to_files_on_resource
Parameter -r means recursive copying. i.e. copy entire directories. Also necessary to specify the name of the file that will be saved on the resource.
Divbox | ||||
---|---|---|---|---|
| ||||
|