Tag Archives: SSH

Vagrant: Authentication failure. Retrying…

I recently bought a newer laptop. It had Windows 8 preinstalled which I wiped immediately in order to install Linux Mint 19.1 and started to migrate data from my old machine. I packaged my vagrant box and transferred it to the new machine. Once imported the box back and issued vagrant up command I was surprised by the following errors:

Continue reading

Enabling SSH Upgrade Access on WordPress on Ubuntu Server

As you may be already know, WordPress allows you to install and update plugins,  widgets, themes etc, as well as whole system trough the admin panel. It’s very convenient time-saving feature but it requires you to provide FTP or FTPS credentials every time when its used. It could be really frustrating!

SFTP (SSH over FTP) should not be confused with FTPS (File Transfer Protocol Over SSL). FTP is vulnerable to attacks and should be avoided because the server can only handle usernames and passwords in plain text. So, as many people, I don’t have it installed on my virtual private server. If you feel that you need to install and enable a FTP server, just for WordPress, think twice – you can use SSH instead and I’ll show you how! Continue reading

How to set up a Msysgit Server with WinSSHD on Windows

Setting up Git can be tricky on Windows and this tutorial will save you few hours head bangs. This guide will take you through the steps to install and configure Git on Windows and use it as remote repo.

1) Install Git for Windows http://msysgit.github.com/

2) Right click on “My Computer” icon and select “Properties”. Than choose “Advanced system settings” from the menu on left. On the newly opened window select “Advanced” tab and click “Environment Variables”.  On “User variables for <username>” section click on “Path” and than click the “Edit” button. Add the following to the path variable, using ; as delimeter:

on x86 Windows;

C:\Program Files\Git\bin;C:\Program Files\Git\libexec\git-core;C:\Program Files\Git\cmd

or on x64 Windows:

C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Git\libexec\git-core;C:\Program Files (x86)\Git\cmd

3) Install WinSSHD (http://www.bitvise.com/winsshd)

4) Right click tray icon -> Settings -> Edit -> Access Control -> Windows Groups -> Everyone -> Edit
5) Change “terminal shell” to
"C:\Program Files (x86)\Git\bin\sh.exe" -il

6. Change “exec request prefix” to

"C:\Program Files (x86)\Git\bin\sh.exe" -c "