How does SSH offer encryption?

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
foersu
Level 2
Level 2
Posts: 84
Joined: Thu Mar 18, 2010 6:52 pm
Location: Kaarst, Germany
Contact:

How does SSH offer encryption?

Post by foersu » Fri Aug 18, 2017 7:20 am

Hello,

I have an understanding problem I hope can be cleared by some networking expert in this forum.

It refers to SSH.
In the very numerous posts and articles to "ssh" in the web it is always mentioned, that SSH provides encryption.
Also it is mentioned, that by creating an ssh-key pair and exporting the public key to a remote server we want to communicate with, it is then not necessary any more to authenticate at the server by means of a password but by means of the key. For security, a pasphrase will be asked in order to activate the public key.

Now my question:
  • which means uses SSH in order to provide the encryption of the user data? Does it generate temporary keys transparent to the user during the SSH session for that?
  • how does the message sequence chart of an SSH session look like?
  • are the keys of the key pair generated by the user involved in the encryption of the user data or are they used only for authentication at the setup phase of a session?
Thanks in advance for answers and hints.

My system:
Linux Mint 18.2 64 bits, Xfce
(Pure Linux, no Windows partition)

User avatar
catweazel
Level 15
Level 15
Posts: 5917
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: How does SSH offer encryption?

Post by catweazel » Fri Aug 18, 2017 7:24 am

A new scientific truth does not triumph by convincing its opponents and making them see the light, but rather because its opponents eventually die, and a new generation grows up that is familiar with it. - Max Planck

foersu
Level 2
Level 2
Posts: 84
Joined: Thu Mar 18, 2010 6:52 pm
Location: Kaarst, Germany
Contact:

Re: How does SSH offer encryption?

Post by foersu » Fri Aug 18, 2017 8:08 am

@catweazel,

thanx a lot for the link. I started reading it and it seems to fully address my questions!

I thought I had "vastly" scanned the web for articles to SSH, but I did not find the one you indicate.

Regards

Post Reply

Return to “Other networking topics”