What is SSH and what are its advantages over HTTPS?

Asked

Viewed 667 times

6

Some services offer client-server connection through SSH (Secure Shell). What is this SSH?

One case is Github, which recommends SSH even though it already offers HTTPS, but HTTPS seems much easier and less laborious to connect with Github. What is the advantage of this above HTTPS protocol, if comparable?

1 answer

7


Do you know the windows command prompt or the linux shell? So, these are places where you type commands to be executed by the computer/device to which you are connected.

When you need to connect to a remote server, you need the commands, as well as any information obtained as a result of them, to be safely routed through the network with encryption. That’s where SSH comes in. SSH provides this command prompt functionality over the encrypted network. Since git runs through multiple shell commands, then it makes sense that you communicate with remote git servers via SSH.

However, the standard protocol for communication on the Internet is HTTP and its version with security and critography (HTTPS). Thus, git also makes it possible to interact with it through this medium.

Especially when you are working with command line scripts, SSH becomes something natural. When you’re using a browser, using HTTPS becomes virtually mandatory. To satisfy both cases, git offers both.

In fact, the meaning of SSH is "Secure Shell", and in the case, "Shell" is the name of the linux command prompr, also called SH.

  • 1

    Well cool the dissertation.

  • @dvd, how did this 'joinha'?

  • 1

    @Dherik https://getemoji.com/ - Choose what you want and then copy-e-cole. There are also browser-specific extensions that give you emoji keyboards.

  • @Victorstafusa, thank you :D

  • @Dherik Exactly as Victorstafusa said... just find on any site these emojis and copy, this is not an image This one I got from Whatsapp Web

  • @Dherik It’s like a text, you drag your mouse over, select and copy CTRL+C

  • @I got it, thanks!

Show 2 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.