Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/pangolin.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Pangolin CLI
* [pangolin login](pangolin_login.md) - Login to Pangolin
* [pangolin logout](pangolin_logout.md) - Logout from Pangolin
* [pangolin logs](pangolin_logs.md) - View client logs
* [pangolin scp](pangolin_scp.md) - Run scp using just-in-time SSH certificates
* [pangolin select](pangolin_select.md) - Select account information to use
* [pangolin ssh](pangolin_ssh.md) - Run an interactive SSH session
* [pangolin status](pangolin_status.md) - Status commands
Expand Down
32 changes: 32 additions & 0 deletions docs/pangolin_scp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
## pangolin scp

Run scp using just-in-time SSH certificates

### Synopsis

Run scp(1) in the terminal. Generates a key pair and signs it just-in-time, then executes the system OpenSSH scp client.

Use the resource alias or identifier as the host in remote operands, exactly as you would with regular scp.
The resource alias is resolved to the connected hostname transparently.
Examples:
pangolin scp ./local-file my-server.internal:/remote/path
pangolin scp my-server.internal:/var/log/syslog ./syslog
pangolin scp -r ./dir my-server.internal:~/

Set PANGOLIN_SCP_BINARY to the full path of scp(1) to override PATH lookup on all platforms.

```
pangolin scp [flags] <source> <destination>
```

### Options

```
-h, --help help for scp
-p, --port int Remote SCP/SSH port (default: 22)
```

### SEE ALSO

* [pangolin](pangolin.md) - Pangolin CLI

2 changes: 1 addition & 1 deletion docs/pangolin_ssh.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ By default the system OpenSSH client is used on every platform. You can pass the
Set PANGOLIN_SSH_BINARY to the full path of ssh(1) to override PATH lookup on all platforms.

```
pangolin ssh <resource alias or identifier> [flags]
pangolin ssh <resource alias or identifier | username@resource> [flags]
```

### Options
Expand Down