CodeGym /Courses /Java Multithreading /How Secure Shell Works (SSH)

How Secure Shell Works (SSH)

Java Multithreading
Level 5, Lesson 14
Available

"Hi, Amigo! I can't get tickets to a Kurt Cobain or Tupac concert—they aren't performing anywhere! Do you think I have a chance?"

"Everything in its own time. But if I were you, I wouldn't try too hard to get to one of their concerts."

7
Task
Java Multithreading, level 5, lesson 14
Locked
How Secure Shell Works (SSH)
The Secure Shell (SSH) protocol was a great invention. Nowadays we use it without a thought about how it works. In today’s nerd break, you’ll learn about how the data sent over the wire is encrypted, and much more. Dr. Steve Bagley will be your guide.
Comments (3)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
Fadi Alsaidi Level 34, Carrollton, TX, USA
21 March 2021
I have never seen anyone more dedicated to nostalgia like this guy. Down to the old printers paper roll. just wow
Ewerton Level 30, Belo Horizonte, Brasil
12 July 2019
But how can the other computer knows how to decode your packets without revealing to anything in the middle?
Seb Level 41, Crefeld, Germany
8 February 2021
Basically the client first contacts the server to initiate a connection. The server then responds by sending the client its public key and opens a secure channel for the client. The client then encrypts its messages using the server's public key, which only the server can decrypt using its private key. Therefore a man-in-the-middle attack should be avoided. You can find more details on wikipedia ( https://en.wikipedia.org/wiki/Public-key_cryptography and https://en.wikipedia.org/wiki/SSH_(Secure_Shell) ). Cheers. :-)