feat(config): deprecated old ssh wrapper command and make the v2 the default one
This commit is contained in:
parent
e034e8d929
commit
55281cb2b0
4 changed files with 6 additions and 4 deletions
|
|
@ -716,7 +716,8 @@ ssh.authorized_keys_file_path = /etc/rhodecode/conf/ssh/authorized_keys_rhodecod
|
|||
; RhodeCode installation directory.
|
||||
; legacy: /usr/local/bin/rhodecode_bin/bin/rc-ssh-wrapper
|
||||
; new rewrite: /usr/local/bin/rhodecode_bin/bin/rc-ssh-wrapper-v2
|
||||
ssh.wrapper_cmd = /usr/local/bin/rhodecode_bin/bin/rc-ssh-wrapper
|
||||
#DEPRECATED: ssh.wrapper_cmd = /usr/local/bin/rhodecode_bin/bin/rc-ssh-wrapper
|
||||
ssh.wrapper_cmd.v2 = /usr/local/bin/rhodecode_bin/bin/rc-ssh-wrapper-v2
|
||||
|
||||
; Allow shell when executing the ssh-wrapper command
|
||||
ssh.wrapper_cmd_allow_shell = false
|
||||
|
|
|
|||
|
|
@ -684,7 +684,8 @@ ssh.authorized_keys_file_path = /etc/rhodecode/conf/ssh/authorized_keys_rhodecod
|
|||
; RhodeCode installation directory.
|
||||
; legacy: /usr/local/bin/rhodecode_bin/bin/rc-ssh-wrapper
|
||||
; new rewrite: /usr/local/bin/rhodecode_bin/bin/rc-ssh-wrapper-v2
|
||||
ssh.wrapper_cmd = /usr/local/bin/rhodecode_bin/bin/rc-ssh-wrapper
|
||||
#DEPRECATED: ssh.wrapper_cmd = /usr/local/bin/rhodecode_bin/bin/rc-ssh-wrapper
|
||||
ssh.wrapper_cmd.v2 = /usr/local/bin/rhodecode_bin/bin/rc-ssh-wrapper-v2
|
||||
|
||||
; Allow shell when executing the ssh-wrapper command
|
||||
ssh.wrapper_cmd_allow_shell = false
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ def _sanitize_settings_and_apply_defaults(settings):
|
|||
settings_maker.make_setting(config_keys.ssh_key_generator_enabled, True, parser='bool')
|
||||
|
||||
settings_maker.make_setting(config_keys.authorized_keys_file_path, '~/.ssh/authorized_keys_rhodecode')
|
||||
settings_maker.make_setting(config_keys.wrapper_cmd, '')
|
||||
settings_maker.make_setting(config_keys.wrapper_cmd, '/usr/local/bin/rhodecode_bin/bin/rc-ssh-wrapper-v2')
|
||||
settings_maker.make_setting(config_keys.authorized_keys_line_ssh_opts, '')
|
||||
|
||||
settings_maker.make_setting(config_keys.ssh_hg_bin, '/usr/local/bin/rhodecode_bin/vcs_bin/hg')
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ generate_authorized_keyfile = 'ssh.generate_authorized_keyfile'
|
|||
authorized_keys_file_path = 'ssh.authorized_keys_file_path'
|
||||
authorized_keys_line_ssh_opts = 'ssh.authorized_keys_ssh_opts'
|
||||
ssh_key_generator_enabled = 'ssh.enable_ui_key_generator'
|
||||
wrapper_cmd = 'ssh.wrapper_cmd'
|
||||
wrapper_cmd = 'ssh.wrapper_cmd.v2'
|
||||
wrapper_allow_shell = 'ssh.wrapper_cmd_allow_shell'
|
||||
enable_debug_logging = 'ssh.enable_debug_logging'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue