How to set a custom color to folded highlighting in .vimrc (for use with putty)

The cterm in ctermbg is short for “color terminal”. It is used to define the background color when Vim runs in a terminal emulator and can only accept named colors like grey or cyan or color numbers like 7. Hexadecimal values only work in GVim/MacVim and must be used with guibg/guifg like that: hi Folded … Read more

Unable to use key file

You will need to convert that key using PuTTYgen (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) to a key usable by PuTTY. The steps are: Download PuTTYgen. Load your key Save the private key See https://unix.stackexchange.com/questions/74545/what-difference-between-openssh-key-and-putty-key

How to submit Plink “Access granted. Press Return to begin session” prompt automatically

Since PuTTY 0.71 you get that prompt for security purposes, when you login in an interactive mode. See PuTTY vulnerability vuln-auth-prompt-spoofing. To use a batch mode, use -batch switch. That way you not only get rid of that prompt. It will also make sure the command does not hang on various other prompts that may … Read more

How to convert ed25519 private key to putty ppk?

Update 2019-03-20: https://www.chiark.greenend.org.uk/~sgtatham/putty/releases/0.71.html supports these keys At the time of writing this, the puttygen snapshot from https://www.chiark.greenend.org.uk/~sgtatham/putty/snapshot.html seems to support these keys where 0.70 did not. It’s not explicitly mentioned in the changelog. I tested Development snapshot 2019-01-17.53747ad

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