search

Home  >  Q&A  >  body text

gitlabSSH port modification is invalid

  1. Modified /etc/gitlab/gitlab.rbgitlab_rails['gitlab_shell_ssh_port']= 19287

    in
  2. Runsudo gitlab-ctl reconfigureRestart

  3. Open ssh -T git@192.168.1.40

  4. in git-shell
  5. Returnssh: connect to host 192.168.1.40 port 19287: Connection timed out

What’s the problem?
Do you want to modify the SSHD port?


Done
Modified the sshd_config and iptables files and added the corresponding ports

迷茫迷茫2811 days ago650

reply all(0)I'll reply

No reply
  • Cancelreply