- SSL (superseded by the more modern Transport Layer Security) is a general protocol that can be implemented on top of other transport-layer protocols such as HTTP and FTP. As such, you can use it to transfer files or view web pages securely, and there are many other applications. The best-known application for SSL is encrypting a form submission so you can send your credit card details to a retailer without fear of an eavesdropper on your network viewing your credit card number. SSL communication is not necessarily authenticated (you can encrypt your communication with a website without giving any username/password).
- SSH is more specifically for remote login and has almost completely replaced Telnet for command-line access to remote computers. Other applications for SSH include file transfer using SCP and secure port forwarding (to provide private access to systems behind a firewall). SSH communication is generally authenticated (either with a username/password or a public/private key pair).
So yes, both allow you to communicate with remote computers through an encrypted channel, and both can do file transfers. But they have different applications in practice.
https://www.quora.com/What-is-the-is-difference-between-SSL-and-SSH
1. SSL -> Web Sites
2. SSH -> Remote Logins