openssh windows bad owner or permissions

This started popping up immediately after I created another user with Administrator privileges, and that account began inheriting access to my .ssh folder. You do not need to change your permissions whatsoever. Just go to .ssh, right-click Properties, Security Tab, Advanced. DISABLE INHERITANCE, then click on the Administrator user (the one that is not you) … Read more

Verify return code: 20 when testing OpenSSL

Your first error is – you need a certificate file. Or at least path to them, so that you can verify the OpenSSL.org certificate. Your second error – you don’t specify a file and -CAfile requires a single certificate (PEM or DER encoded). The easiest way to perform connection with OpenSSL.org: Download mozilla certificate bundle from here: http://curl.haxx.se/docs/caextract.html … Read more

What is the ‘realtime’ process priority setting for?

A realtime priority thread can never be pre-empted by timer interrupts and runs at a higher priority than any other thread in the system. As such a CPU bound realtime priority thread can totally ruin a machine. Creating realtime priority threads requires a privilege (SeIncreaseBasePriorityPrivilege) so it can only be done by administrative users. For … Read more

Batch script loop

for /l is your friend: Starts at 1, steps by one, and finishes at 100. Use two %s if it’s in a batch file (which is one of the things I really really hate about windows scripting) If you have multiple commands for each iteration of the loop, do this: or in a batch file Key:/l denotes that … Read more

How to exit Python script in Command Prompt?

It indeed depends on the OS, and probably on the version of Python you are using. As you mentioned, ctrl+C does not work on your Windows 10 with Python 3.6, but it does work on my Windows 10 with Python 3.4. Therefore, you really need to try and see what works for you. Try the following commands, … Read more

How to run ‘sudo’ command in windows

There is no sudo command in Windows. The nearest equivalent is “run as administrator.” You can do this using the runas command with an administrator trust-level, or by right-clicking the program in the UI and choosing “run as administrator.”

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)