TL;DR You can't. In order to be able to connect to the (or any, for that matter) phone via SSH, it needs to run an SSH server that listens for connections. Although the iPhone theoretically can, Apple does not ship an SSH server by default (or at least doesn't enable it, not too sure).