> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fly.io/llms.txt
> Use this file to discover all available pages before exploring further.

# fly ssh sftp

Get or put files from a remote VM.

## Usage

```
fly ssh sftp [command] [flags]
```

## Available Commands

* [find](/flyctl/cmd/fly_ssh_sftp_find)	 - The SFTP FIND command lists files (from an optional root directory) on a remote VM.
* [get](/flyctl/cmd/fly_ssh_sftp_get)	 - The SFTP GET retrieves a file from a remote VM.
* [put](/flyctl/cmd/fly_ssh_sftp_put)	 - The SFTP PUT uploads a file to a remote VM.
* [shell](/flyctl/cmd/fly_ssh_sftp_shell)	 - The SFTP SHELL command brings up an interactive SFTP session to fetch and push files from/to a VM.

## Options

```
  -h, --help   help for sftp
```

## Global Options

```
  -t, --access-token string   Fly API Access Token
      --debug                 Print additional logs and traces
      --verbose               Verbose output
```

## See Also

* [fly ssh](/flyctl/cmd/fly_ssh)	 - Use SSH to log into or run commands on Machines
