How to set up an SSH config-file for beginners [closed]

Generally, in Windows machine, the SSH config file stored in the following location: /c/Users/PC_USER_NAME/.ssh/ Just follow the steps in below (if you’re using the Git Bash): Go to the .ssh directory /c/Users/PC_USER_NAME/.ssh/, click right mouse button and choose “Git Bash Here” Create a file named “config” with the following command: touch config Now open the … 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

PuTTY configuration equivalent to OpenSSH ProxyCommand

If you want to “jump a host”, then using “local proxy command” is an overkill. Recent versions of PuTTY have this build-in. Go to Connection > Proxy, and in “Proxy type”, select “SSH to proxy and use port forwarding”. Then specify the details of the intermediate server below (like Hostname, Port, Username, Password [or load … Read more

OpenSSH using private key on Windows (“Unprotected private key file” error)

You can use icacls in Windows instead of chmod to adjust file permission. To give the current user read permission and remove everything else (Which will allow openssh to work), this works nicely: Command Prompt: icacls .\private.key /inheritance:r icacls .\private.key /grant:r “%username%”:”(R)” In PowerShell, you can get icacls to work by wrapping the command in … Read more

Specifying password in .ssh/config file?

No, it is not possible. The configuration options are described in the manual page for ssh_config and there is no such option as Pass. There are no patches (at least I didn’t see any during the years yet), because it is very insecure to store passwords in plain text. Using some obfuscated method will not … Read more

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