cURL has no support for SSH. It can work with Telnet, but you’ll want to use other utilities for encrypted transmissions if that is a concern.