Command Line
SCP
Devices running on Windows Server 2019, Windows 10 1809 and higher, 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:
scp -r C:\temp\configs\ james.miller.axidian.local:/tmp
scp -r С:\path_to_local_file user_name@address_ssh_proxy:/path_to_copy_on_resource
For Linux:
scp -r /tmp james.miller@sshproxy.axidian.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
sftp james.miller@sshproxy.axidian.local
Select a resource for connection
Transfer files using the command:
put -r C:\temp\configs\ /tmp
put -r path_to_local_files path_to_files_on_resourceParameter -r means recursive copying. i.e. copy entire directories.
PSCP
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:
pscp -r C:\temp\configs\ james.miller@sshproxy.axidian.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
open james.miller@sshproxy.axidian.local
Select a resource for connection
Transfer files using the command:
put -r C:\temp\configs\ /tmp/configs
put -r path_to_local_files path_to_files_on_resourceParameter -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.