login: root

Latest posts

“bash: scp: command not found” despite it exists

If You receive the error something like, despite the scp exist:

It may look silly, but please check if the destination server has that package too ;) I haven’t expected a CentOS server not having this simple package by default. Anyway, on CentOS it’s in openssh-clients package, and may be installed with command:

Of if it exists there too, please check the PATH variable on the remote system, if it shosw the correct ipaths. Also, You may check .bashrc on remote user if it tries to overwrite the PATH value.

git error “server certificate verification failed”

I’ve got this message on Ubuntu 12.04. Other servers seemed to work fine.

The fix: Append CA root of that cert to file: /etc/ssl/certs/ca-certificates.crt

Cracking the RSA keys (Part 2 – generating the private key)

Previous part: Part 1 – Cracking the RSA keys (Part 1 – getting the private exponent) PART 2 For a private key generation, we need to create an asn1parse.txt file with the contents of:

Cracking the RSA keys (Part 1 – getting the private exponent)

The whole idea of the RSA private key is the hardness of factorisation of two very large prime numbers. That’s why recommended RSA keys are >2048bit long. I won’t get into RSA details itself. If You need any info, it’s here: WIKI For a sake of demonstration, 256bit public_key will be used. With the current hardware that we have these days, it’s very easy crackable.

Lets convert it to a more ‘mathematical’ expression:

Add a separate SSL certificate for a subdomain in Directadmin

Directadmin doesn’t have possibility to add SSL certificate for a subdomain, unless You add it as a separate domain in domain control. You may also use separate SSL certificates by creating a custom httpd (or nginx, but it would require to change the CAROOT line) file in user configuration dir i.e. loginroot.com.cust_httpd (or loginroot.com.cust_nginx if it’s nginx).

Wrong LSAPI header type: 6 instead of expected 7

If You are getting this error after update:

That’s because cloudlinux developers modified their lsapi code, and didn’t add variable default value. Very nice guys… The fix:

DBD::mysql perl module hasn’t been fully installed

DADA mail error:

Close
%d bloggers like this: