2
0
Commit Graph

70 Commits

Author SHA1 Message Date
Andrey Nering
98a5ef6cba Fix SSH server on Windows when running as service
Closes #680
2017-01-23 20:44:23 -02:00
Lunny Xiao
c919ad846a New settings option for a custom SSH host (#3763) (#446)
* New settings option for a custom SSH host (#3763)

* let default ssh listen addr empty
2016-12-22 13:26:43 +01:00
Bwko
e5314f667c Catch os... errors 2016-12-02 07:41:19 +01:00
Sandro Santilli
acb138c244 Update import paths from github.com/go-gitea to code.gitea.io (#135)
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis

See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
2016-11-10 17:24:48 +01:00
Rémy Boulanouar
61ec6729e6 Change import reference to match gitea instead of gogs (#37) 2016-11-03 10:29:56 -02:00
Unknwon
34ed998bd0 #2850 fix potential SSH commands dislocation
When use builtin SSH server with concurrent operations, there are probabilities
One connection could use the command from another connections.

Fix this by set SSH_ORIGINAL_COMMAND for each command, not set in global scope.
2016-03-18 06:13:16 -04:00
Unknwon
354dd25700 Remove cache avatar support and add its tests 2016-02-14 23:14:55 -05:00
Unknwon
2a808b06db Fix one user may block entire listen loop for builtin SSH 2016-02-01 12:10:49 -05:00
Unknwon
3f3578d99d Minor fix for #2396 2016-01-25 14:04:46 -05:00
Dmitry Neverov
6f2339f7ec Fix #2431 - handle requests waiting for reply
According to the docs [1], the Reply method must be called for all
requests where WantReply is true. This fixes a hanging java ssh
implementation (jsch) which sets WantReply flag and waits for reply from
the server.

[1] https://godoc.org/golang.org/x/crypto/ssh#Request.Reply
2016-01-18 16:54:10 +01:00
Unknwon
dba80ebde2 Drop Go 1.3 support 2015-12-13 20:20:52 -05:00
Bruno
99802ad826 ignore invalid env 2015-12-13 20:17:47 +08:00
Unknwon
ada0037fea #1681 carry --config flag for builtin SSH 2015-11-30 15:40:05 -05:00
Unknwon
96e2cb89c7 fix api broken 2015-11-15 17:07:44 -05:00
Unknwon
d33be715e5 minor UI fix and fix ssh race 2015-11-14 13:21:31 -05:00
Unknwon
b34fccd2c7 fix 1540 and experimental SSH server support 2015-11-08 16:59:56 -05:00
Unknwon
e222aa5b0b fix subrepo break change 2015-09-24 17:55:01 -04:00
Unknwon
ef275ebf62 more on change avatar 2014-11-21 12:51:36 -05:00
Unknwon
545d320648 Docs fix 2014-07-26 03:02:46 -04:00
Unknwon
8dd07c0ddd New UI merge in progress 2014-07-26 00:24:27 -04:00