Questions and Answers

0 Like 0 Dislike

Leigh Noble

What changes need to be made in order to ssh into server after upgrade to hub v1.2?

Assistance needed with new /etc/ssh/sshd_config settings. During installation of hubzero-cms-1.2 the following lines were added to the /etc/ssh/sshd_config file.

# hubzero-ssh -- DO NOT REMOVE THIS LINE
Match Group tunnelers,!root,!staff,!adm,!hnusers User *,!www-data
    AllowTcpForwarding yes
    ForceCommand /bin/false

Match Group *,!tunnelers,!root,!staff,!adm,!hnusers User *,!www-data
    AllowTcpForwarding no
    ForceCommand /bin/false
# hubzero-ssh -- DO NOT REMOVE THIS LINE

These settings do not appear in my 1.1.3 hub version. However, these settings are causing me difficulties -- I can no longer ssh into my server with these settings. What is the best course of action? I'm guessing I need to perhaps add myself to one of the groups such as "staff" or "adm", but which one?

Report abuse

Chosen Answer

  1. 0 Like 0 Dislike

    Leigh Noble

    It appears that these settings were added into the /etc/ssh/sshd_config by mistake and are not yet supported by the open source hubzero release I am using. By running the following command, I was able to remove the sshd_config modifications.



    # hzcms configure ssh --disable



    I am now able to ssh into my server.

    Cancel Report abuse

    Please login to answer the question.

0 Responses

No other responses made.

  • Copyright © 2022 Hubzero
  • Powered by Hubzero®