Public key authorization¶
In addition to interactive access, WCS core CLI supports public key authorization. This feature allows to enter to CLI and run some CLI commands from script, for example.
Public key authorization setup¶
-
Create public and private keys with command:
-
Enter to CLI:
-
Enter the command
where
/homedir/.ssh/id_rsa.pub
is the full name of the public key.
This command imports public key and places it to/usr/local/FlashphonerWebCallServer/.ssh/authorized_keys
file -
Restart WCS
Enter to CLI with public key authorization¶
Enter to CLI with command
where /homedir/.ssh/id_rsa
is private key file full name.