Skip to content

End-user SSH workflow

Here is an example workflow for connecting to a linux box using SSH:

  1. Install Ark SDK:
    go install github.com/cyberark/ark-sdk-golang
    
    Make sure that the PATH environment variable points to the Go binary. For example:
    export PATH=$PATH:$(go env GOPATH)/bin
    
  2. Create a profile:
    • Interactively:
      ark configure
      
    • Silently:
      ark configure --silent --work-with-isp --isp-username myuser
      
  3. Log in to Ark:
    ark login --silent --isp-secret <my-ark-secret>
    
  4. Get a short-lived SSH private key for a linux box from the SIA service:
    ark exec sia sso short-lived-ssh-key
    
  5. Log in directly to the linux box:
    ssh -i ~/.ssh/sia_ssh_key.pem myuser@suffix@targetuser@targetaddress@sia_proxy