ssh file clean up