Who rated this post

cancel
Showing results for 
Search instead for 
Did you mean: 
StuartGreen
Employee
Employee

you could redirect the output from your command to a file and then transfer that to your remote server:

 

mgmt_cli -u "admin" -p "password" show administrators --format json > admin_users.json

scp admin_users.json admin@192.168.1.1:/home/directory

 

Or - you could skip the transfer part and connect to the management server from your remote server using the REST API over HTTPS and save the results directly on the server / incorporate them into the next part of your workflow.

View solution in original post

0 Kudos
(1)
Who rated this post