understanding ssh

From: Sven Müller (sven_at_hitnet.rwth-aachen.de)
Date: 01/10/04

  • Next message: Joe Smith: "Re: "Corrupted MAC on input""
    To: secureshell@securityfocus.com
    Date: Sat, 10 Jan 2004 20:31:04 +0100
    
    

    Hello!

    I try to understand what happens using ssh.

    But I´m not sure at all and hope anyone can help me.

    My problems belong to the transport-layer:

    Starting a ssh session, the client and server handle out which public key
    authentication is to use (RSA/DES).
    After that, the server sends in this example the DES public key.
    The client compares this key with the key saved in file "known_hosts".
    If the entry matches, client and server handle out which symmetric
    algorithm should be used for encrypting data.
    After that, ssh uses diffie-hellman to create a key for encrypting data
    with 3DES.
    Now, the sending data will be encrypted with 3DES.

    Authentication can start now.

    Is that correct?

    I read something about randomised sessions. What is the meaning of
    this? Does it belongs to creating keys with DH?
    What about the sessions to differ between ssh connections?

    And what about the session integrity provided through sha1 or md5 hash
    algorithms? Where do I find the md5 checksum? When will it happen?

    What about ssh1, does it only use RSA keys? Are they created like DES
    when installing ssh or when creating a ssh session.

    Does the symmetric key change after one hour?

    Thanks a lot for your help!!!!

    Greetings,

    Sven


  • Next message: Joe Smith: "Re: "Corrupted MAC on input""

    Relevant Pages

    • Re: [kde-linux] Sessions names
      ... ssh 192.168.2.80??? ... You can write a wrapper script that would start ssh to some ip and rename the ... konsole session dynamically. ... dcop call to konsole you need to know the pid of konsole. ...
      (KDE)
    • RE: unexplained pausing/freezing of SSH Terminal Sessions ?
      ... Do you use expect to initiate your SSH connections? ... i'm having an SSH Terminal Session "issue". ... These machines define an internal/private ...
      (SSH)
    • Sun_SSH_1.0
      ... I have a problem with Sun's SSH. ... or one SUN_SSH_1.0 session talk to an OpenSSH session. ... This e-mail and any attachments are confidential and may contain legally ...
      (SunManagers)
    • Re: Is there a way to speed up and resume a SSH X forwarding session from a disconnection?
      ... there were to be a disconnection, is it possible to resume the SSH X ... Or do I have to make a new session ... you set DISPLAY to that pseudo-display, and all X apps are directed ... impossible to switch X clients from one display to another otherwise. ...
      (comp.os.linux.x)
    • SSH connection thru corporate firewall to home sshd on Port 80
      ... I have a FreeBSD server running sshd listening on port 80 at home. ... I can successfully establish a ssh session from a Winnt/putty:80 box the ... When I take the same Winnt machine behind a corporate firewall which passes ...
      (comp.security.ssh)