SSH vs. SSL
1) OpenSSH is a free SSH protocol suite providing encryption for network services like remote login or remote file transfers.
2) Sockets are used for communication, particularly over a network.
https://www.openssh.com/features.html
https://dwheeler.com/secure-programs/Secure-Programs-HOWTO/sockets.html