Added write to ssh file