go-gitea/modules/ssh
Dennis Keitzel d7ca1f5bfd Fix parsing of environment variables.
The inbuilt SSH server supports setting environment variable received
from SSH clients. However, parsing of those variables was completely
broken and success depended on chance.

This new implementation uses standard operations from the crypto/ssh
module to parse the SSH wire format.

Signed-off-by: Dennis Keitzel <github@pinshot.net>
2017-06-11 12:35:37 +02:00
..
ssh.go Fix parsing of environment variables. 2017-06-11 12:35:37 +02:00