Configuring SSH access in the OpMon

Objective

Describe the procedures for the SSH access set up, considering that the maintenance and upcoming upgrades of OpMon versions after installation will occur by remote access, using the SSH protocol.

Target audience

Intended for administrators of OpMon and IT teams that need to perform the recommended SSH settings by OpServices.

Configuring

The OpServices RECOMMENDS that this access is configured in a  DIFFERENT platform of the default port. To proceed with the set up for the SSH server to run in other port, for example, the 54978 port instead of the default 22 port, follow the instructions below:

a) Edit the file /etc/ssh/sshd_config

[root@opmon /]# vim /etc/ssh/sshd_config

b) Look for the Port entries and PermitRootLogin and leave as shown in the example below.

Port 54978
PermitRootLogin no

If you want more than one port responding to SSH, simply duplicate the line with the desired ports.

The entry PermitRootLogin is responsible for allowing the user to root login in the console, if you don’t want that to happen, you can force other user to login for becoming root later (recommended)

c) Once done this procedure, save the file.

d) Restart the sshd service as follows:

root@opmon /]# service sshd restart
Stopping sshd:                                   [  OK  ]
Starting sshd:                                   [  OK  ]
Updated on 01/09/2021

Was this article helpful?

Ficou com alguma dúvida?

Perguntas & Respostas

Participe da nossa comunidade e tire dúvidas ou compartilhe respostas e ideias.

Participar

Professional Support

Não encontrou a resposta que procura? Não se preocupe, estamos aqui para ajudar!

Abrir chamado

Treinamento Online

Através da plataforma Udemy, você encontra todos os treinamentos das nossas soluções.

Inscreva-se