> ## 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 sftp shell

The SFTP SHELL command brings up an interactive SFTP session to fetch and push files from/to a VM.

## Usage

```
fly sftp shell [flags]
```

## Options

```
  -A, --address string         Address of VM to connect to
  -a, --app string             Application name
  -C, --command string         command to run on SSH session
  -c, --config string          Path to application configuration file
      --container string       Container to connect to
  -h, --help                   help for shell
      --machine string         Run the console in the existing machine with the specified ID
      --no-container           Connect to the machine itself rather than to one of its containers
  -o, --org string             The target Fly.io organization
  -g, --process-group string   The target process group (also --group)
      --pty                    Allocate a pseudo-terminal (default: on when no command is provided)
  -q, --quiet                  Don't print progress indicators for WireGuard
  -r, --region string          The target region (see 'flyctl platform regions')
  -s, --select                 select available instances
  -u, --user string            Unix username to connect as (default "root")
```

## Global Options

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

## See Also

* [fly sftp](/flyctl/cmd/fly_sftp)	 - Get or put files from a remote VM.
