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:

  1. Run a Command Line
  2. Connect to the SSH Proxy server

    Code Block
    sftp james.miller@sshproxy.indeed-id.local


  3. Select a resource for connection
  4. 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 

  1. Run a Command Line
  2. Enter command psftp
  3. Connect to the SSH Proxy server

    Code Block
    open james.miller@sshproxy.indeed-id.local


  4. Select a resource for connection
  5. 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
classrightFloat

Table of Contents
printablefalse