add ssh functions