Skip to content

Commit 2c51d9e

Browse files
author
root
committed
Merge branch 'devel' of github.com:jbox-web/redmine_git_hosting into devel
2 parents ef49cd9 + 781fb7d commit 2c51d9e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: lib/redmine_git_hosting/commands.rb

+4-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@ def ssh
107107
# * <gitolite_user>@localhost (see +gitolite_url+)
108108
def ssh_shell_params
109109
[
110-
'-T', '-o', 'BatchMode=yes',
110+
'-T',
111+
'-o', 'BatchMode=yes',
112+
'-o', 'UserKnownHostsFile=/dev/null',
113+
'-o', 'StrictHostKeyChecking=no',
111114
'-p', RedmineGitHosting::Config.gitolite_server_port,
112115
'-i', RedmineGitHosting::Config.gitolite_ssh_private_key,
113116
RedmineGitHosting::Config.gitolite_url

0 commit comments

Comments
 (0)