teleport/lib
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
..
auth Fixed #1048 (scp error with OpenSSH client) 2017-06-08 18:24:27 -07:00
backend dashboard and detect dangling sessions, refs #931 2017-06-01 19:35:14 -07:00
client Always read tsh profile. 2017-06-07 11:37:55 -07:00
config Fixed #1048 (scp error with OpenSSH client) 2017-06-08 18:24:27 -07:00
defaults integration test 2017-05-19 19:03:28 -07:00
events address code review comments 2017-05-30 13:36:35 -07:00
fixtures add integration tests 2017-05-12 14:10:19 -07:00
httplib make API backwards compatible with pre-namespaces 2016-12-13 14:20:52 -08:00
limiter PR comments - implemented! 2016-05-07 21:51:35 -07:00
reversetunnel Added HTTP CONNECT tunneling support for Trusted Clusters. 2017-05-25 10:28:05 -07:00
service Merge branch 'master' into sasha/exp2 2017-05-27 15:38:44 -07:00
services update code review comments 2017-05-22 19:44:22 -07:00
session Sasha High Availability. 2017-04-07 16:54:15 -07:00
srv Fixed #1048 (scp error with OpenSSH client) 2017-06-08 18:24:27 -07:00
sshutils Fixed scp regressions 2017-03-29 16:49:40 -07:00
state remove noisy log 2017-05-28 16:27:23 -07:00
teleagent agent forwarding test 2017-03-08 21:29:30 -08:00
utils Fixed #1048 (scp error with OpenSSH client) 2017-06-08 18:24:27 -07:00
web fix tests 2017-05-19 10:06:48 -07:00