From CLI 1drush st This error is shown: 1PHP Fatal error: Uncaught Error: Call to undefined function cache_get() in xxxx Solution Is always due to php syntax error. What did you add just recently? Perhaps a semicolon is missing in settings.local.php? Further information in …
Read More1$ openssl rsa -aes256 -in ./id_rsa -out ./id_rsa.hashed 2writing RSA key 3Enter PEM pass phrase: 4Verifying - Enter PEM pass phrase: You should then use './id_rsa.hashed' as your private key. See https://security.stackexchange.com/questions/59136/can-i-add-a-password-to-an-existing-private-key for details.
Read MoreNoticed this one in a compromised machine by a cryptocurrency(monero) miner: 1icasimpan@example-prod:~$ scp wp.example.com-HTMLonly.tgz icasimpan@another-example.info:~/ 2command-line: line 0: Bad configuration option: PermitLocalCommand 3lost connection Fix was to remove and re-install openssh-server 1sudo apt-get …
Read MoreIf you see a public key like below, chances are, it's generated using PuttyGen in Windows. 1---- BEGIN SSH2 PUBLIC KEY ---- 2Comment: "rsa-key-20200101" 3AAAAB3NzaC1yc2EAAAABJQAAAQEArPVm4pY6eNaXFay32YHRdu96PXcwmhzGEWhK 4jmNRt2qWs39vbM/ZCQ7I8aKcgZJ6r35wInWpaqOH2xE0Jzx1rbC0aY+66KnPSFXZ …
Read More1ssh -i ./server-keys.ppk -o PubkeyAuthentication=yes -o PasswordAuthentication=no deps@104.129.111.150 Some details in https://unix.stackexchange.com/questions/15138/how-to-force-ssh-client-to-use-only-password-auth Tested in: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips
Read More1[icasimpan@icasimpan ~]$ ssh icasimpan@204.48.29.45 2The authenticity of host '204.48.29.45 (204.48.29.45)' can't be established. 3ECDSA key fingerprint is SHA256:/g89dBppp6ir72D3dUvHFm4de2k3NPtYKOOfNkUkFQQ. 4ECDSA key fingerprint is MD5:58:41:92:ed:e1:55:52:3f:69:6a:e5:27:7a:dd:98:6a. 5Are you sure you …
Read MoreSample 1icasimpan-local:~ icasimpan$ ssh root@99.206.157.36 2@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ 4@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 5IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! 6Someone could be …
Read More1ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub See details in https://askubuntu.com/questions/53553/how-do-i-retrieve-the-public-key-from-a-ssh-private-key
Read MoreGo to drupal root, then: 1drush upwd --password="newPassword_here" "the_user" More info in https://www.drupal.org/node/44164
Read Morein /etc/postfix/main.cf, change: 1inet_interfaces = localhost to 1inet_interfaces = all And restart postfix accordingly.
Read More