<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content

Use Okta Advanced Server Access or Okta Privileged Access to Copy Files Using SCP or SFTP

Advanced Server Access
Okta Classic Engine
Okta Identity Engine

Overview

Administrators can use Okta Advanced Server Access (ASA) or Okta Privileged Access (OPA) to copy files to other machines using Secure Copy Protocol (SCP) or Secure File Transfer Protocol (SFTP). Configure the client by generating a Secure Shell (SSH) configuration file and using a proxy command or specifying the configuration file directly during the transfer.

Applies To

  • Okta Identity Engine (OIE)
  • Okta Classic Engine
  • Okta Advanced Server Access (ASA)
  • Okta Privileged Access (OPA)
  • Secure Copy Protocol (SCP)
  • Secure File Transfer Protocol (SFTP)
  • Windows Client

Solution

How are files copied using SCP or SFTP in Okta Advanced Server Access or Okta Privileged Access?

 

Generate the Secure Shell (SSH) configuration from the command line interface and configure the proxy command or specify the configuration file by following these steps.

  1. Run the following command from the command line interface to generate the configuration:
sft ssh-config
  1. Copy the output from the command.
  2. To use the configuration by default, configure the ProxyCommand setup by creating a file named config in the user .ssh folder and pasting the copied output into the file.
    • Windows file location:
C:\Users\Administrator\.ssh\config
    • Linux file location:
/home/Administrator/.ssh/config
  1. Run the SCP or SFTP command normally and authenticate with the Okta Advanced Server Access or Okta Privileged Access account using the following syntax:
<scp OR sftp> <local file to copy> <target server>:<target server location>
  1. Alternatively, to specify the configuration manually, create a file on the desktop, paste the copied output into the file, and run the following command:
<scp OR sftp> -F <Full path of created file> <local file to copy> <target server>:<target server location>

Related References

Loading
Use Okta Advanced Server Access or Okta Privileged Access to Copy Files Using SCP or SFTP | Okta Support