Fix ssh problems for ubuntu 14.04