File: constants.rb

package info (click to toggle)
libnet-ssh2-ruby 2.0.15-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 812 kB
  • ctags: 1,400
  • sloc: ruby: 8,839; makefile: 2
file content (30 lines) | stat: -rw-r--r-- 598 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
module Net; module SSH; module Transport
  module Constants

    #--
    # Transport layer generic messages
    #++

    DISCONNECT                = 1
    IGNORE                    = 2
    UNIMPLEMENTED             = 3
    DEBUG                     = 4
    SERVICE_REQUEST           = 5
    SERVICE_ACCEPT            = 6

    #--
    # Algorithm negotiation messages
    #++

    KEXINIT                   = 20
    NEWKEYS                   = 21

    #--
    # Key exchange method specific messages
    #++

    KEXDH_INIT                = 30
    KEXDH_REPLY               = 31

  end
end; end; end