teleport/lib/config
Ev Kontsevoy e0360ac97a Fixed #1048 (scp error with OpenSSH client)
When this command is executed:

```
$ scp host:path/with/wildcards/* .
```

Teleport would launch "SSH exec" request on the sever side, which in
turn would execute the following:

```
/bin/bash -c /usr/bin/teleport scp --remote-addr=127.0.0.1:44226 --local-addr=127.0.0.1:3022 -r -f path/with/wildcards/*
```

The problem is that bash will attempt to "expand" the wildcard, sending
a bunch of files as an input into -f, but `teleport scp` needs to see
the _exact_ string as passed via scp client.

The proposed solution is to detect shell wildcard characters and wrap
them in single quotes preventing them from being expanded.

Another potential solution is to NOT use shell to execute SCP commands.
2017-06-08 18:24:27 -07:00
..
configuration.go Fixed #1048 (scp error with OpenSSH client) 2017-06-08 18:24:27 -07:00
configuration_test.go Added support for allowing the reading of a users environment when 2017-05-26 17:06:49 -07:00
fileconf.go Added support for allowing the reading of a users environment when 2017-05-26 17:06:49 -07:00
fileconf_test.go Added support for dynamic roles in claim mappings for OIDC. 2017-04-04 15:09:21 -07:00
testdata_test.go Sasha High Availability. 2017-04-07 16:54:15 -07:00