'How can a remote server deploy a project without entering a password? [duplicate]

The company is deploying it using the secure CRT(ssh) tool on a remote server. The deploy procedure is as follows.

depoly.sh

   ↓
Move to tomcat directory.
   ↓
shutdown.sh
   ↓
startup.Sh

When using depoly.sh, the first of these, there is a problem that you can only run a command by entering a password. I want it to run without entering the password. Does anyone know a solution to this? Help me.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source