Stock iOS and watchOS devices do not run an ssh server, nor have an ssh port open. Also, ssh is pretty useless without the ability to run any shell or command-line processes, which stock iOS actively prevents.
But there are several iOS apps that will allow you to ssh out from an iOS device to a Linux server.