How does SSH offer encryption?

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

How does SSH offer encryption?

Postby 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 11
Level 11
Posts: 3537
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: How does SSH offer encryption?

Postby catweazel » Fri Aug 18, 2017 7:24 am

If your problem is fixed, please mark your thread as [SOLVED] by editing the title of the first message in the thread.

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

Re: How does SSH offer encryption?

Postby 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


Return to “Other networking topics”