Iam made Python script that can control my BLE RGB strip, also I made web page with php that connect to Pi via ssh and run Python script. My question is, is there a better way ? I will mark my favorite answer in few days. I hope someone will see this and get same inspiration like me. Thanks for
Tag: ssh
openssl_verify(): supplied key param cannot be coerced into a public key
I have converted a test_priv.ppk file to a test_priv.pem file using below: Start PuTTYgen. For Actions, choose Load, and then navigate to your .ppk file. Choose the .ppk file, and then choose Open. From the menu at the top of the PuTTY Key Generator, choose Conversions, Export OpenSSH Key. Note: If you didn’t enter a passphrase, you receive a PuTTYgen
Cookies error when connect via ssh port forwarding
I have a PHP script running on the remote server inside private network. And I need to give only access to it via ssh port forwarding (ssh -L ….) remote port 80 to local 8080. The script sets …
Why does host key verification fail? Symfony and BitBucket Deployment with Easy-Deploy-Bundle
I am trying to deploy my Symfony 5 application via BitBucket Pipelines and easy-corp/easy-deploy-bundle to my server. I’ve followed the instructions on https://support.atlassian.com/bitbucket-cloud/…
How to store password securely in database
Currently I am working on php project. The project main theme is to login through ssh to some cisco switch in my local network , fetch details and populate it to user. To accomplish this I have created on database in MySQL consisting switch login credentials. And my PHP code will fetch the login credentials from database and do it’s
Use proxy to connect to a mysql db through PDO
I’m trying to connect to a remote mysql database with PHP PDO (php version 5.3) and I need it to go through a proxy. My connection looks like this right now. I’dd need it to go through a proxy, like http://proxy.mydomain.com:port I’ve searched through the PDO Doc and can’t seem to find anything on the subject. Is there a way