user manage ssh function