How can a GitLab ssh url show a non-default user? -


i have gitlab installation, installed under different user default 'git'.

on project pages, users instructed use following url ssh:

git@host:user/project.git 

how change show new username?

try , modify/uncomment lines regarding ssh use in gitlab.yml

# uncomment , customize if can't use default user run gitlab (default: 'git') # user: git 

the initializer supposed use setting when computing ssh url repos.
see "config/initializers/1_settings.rb#l12-l18"

def build_gitlab_shell_ssh_path_prefix   if gitlab_shell.ssh_port != 22     "ssh://#{gitlab_shell.ssh_user}@#{gitlab_shell.ssh_host}:#{gitlab_shell.ssh_port}/"   else     "#{gitlab_shell.ssh_user}@#{gitlab_shell.ssh_host}:"   end end 

Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -