finished ssh functions. sarting ssh