User Manuals : DIRAC User Manual : Operation : DIRAC Server Use Cases : CLI Login on the DIRAC Server
Hitachi Energy
CLI Login on the DIRAC Server
To do a CLI login,
Proceed as follows: 
1. Login as dirac user on the Linux machine the DIRAC server is running and open a terminal.
If not physically present at the server machine, as SSH login for the dirac user is prevented for security reasons, the recommendation is to create a separate local user on the DIRAC server to be able to log in via SSH.
Then, from a terminal on your remote machine start an SSH session as the newly created separate local user to the machine running the DIRAC server. Once logged in, change to user dirac via the “su dirac” command.
2. In the terminal start the DIRAC server CLI:
$ Cli.sh
or
$ /opt/dirac/bin/Cli.sh
3. Check the available commands:
dirac> help
Result: You have successfully logged in to the DIRAC server and started its CLI.
End of instruction