capture SSH warning message in a variable

I’m trying capture the ssh output in a variable. But it’s ignoring the warning message and capturing everything else. Requirement: x=$(ssh -o PasswordAuthentication=no -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no [email protected]$(hostname) echo 2>&1) echo $x Warning: Permanently added ‘<host>’ (RSA) to the list of known hosts. Permission denied (gssapi-with-mic,password). Observation echo $x Permission denied (gssapi-with-mic,password). The warning message…

Details

Custom Module Controller: Invalid security or form key. Please refresh the page

I have a custom module with an admin controller, but when I try to access from the administration page I get the following error: My controller is in Controller/Adminhtml/Login/Index.php class Index extends \Magento\Backend\App\Action {…} and the route decalaration in etc/adminhtml/routes.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:App/etc/routes.xsd”> <router id=”admin”> <route id=”oct” frontName=”oct”> <module name=”Oct_Oct” before=”Magento_Backend” /> </route>…

Details