Implement ssh command.