Implement ssh subcommand