By default, your account has an API access rule that allows access to all IPs.
If you have deleted this rule, you need to add the source IP address of the user who wants to initiate a connection to the Cockpit v2 web interface.
You can add your IP address to an API Access Rule by running the following command:
myIp=$(curl -4 ifconfig.io)
osc-cli api CreateApiAccessRule --profile "default" --IpRanges "[\"$myIp\"]"
For more information about API Access Rules, see our documentation: About API Access Rules.
Comments
0 comments
Please sign in to leave a comment.