-
Problem report
-
Resolution: Fixed
-
Major
-
5.0.2
-
None
-
Sprint 67 (Aug 2020)
-
0.25
Go to Configuration -> Actions -> Trigger Actions -> New action -> Operations -> Operations Add
Enter:
Operation type = Remote Command
Target list = Current host checked
Type = SSH
User name = root
Password = testpassword
Commands = ls
Click Add.
Then if you click Edit on this Operation you see the field Password empty.
Command execution fails with the error "Password authentication failed: Authentication failed (username/password).
In database for this operation we see following:
mysql> select * from opcommand; +-------------+------+----------+------------+------+----------+----------+----------+-----------+------------+---------+ | operationid | type | scriptid | execute_on | port | authtype | username | password | publickey | privatekey | command | +-------------+------+----------+------------+------+----------+----------+----------+-----------+------------+---------+ | 12 | 2 | NULL | 0 | | 0 | test | | | | ls | +-------------+------+----------+------------+------+----------+----------+----------+-----------+------------+---------+ 1 row in set (0.00 sec)