We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee13c07 commit 21d0d6cCopy full SHA for 21d0d6c
lib/net/ssh/transport/session.rb
@@ -41,9 +41,6 @@ class Session
41
# version.
42
attr_reader :server_version
43
44
- # Internal compatibility flags (hacks/tweaks/etc)
45
- attr_reader :compat_flags
46
-
47
# The Algorithms instance used to perform key exchanges.
48
attr_reader :algorithms
49
@@ -97,13 +94,6 @@ def initialize(host, options={})
97
94
98
95
@server_version = ServerVersion.new(socket, logger)
99
96
100
- # Compatibility settings
101
- ver = @server_version.version
102
- @compat_flags = 0
103
- if ver =~ /OpenSSH_2\.[0-3]/ or ver =~ /OpenSSH_2\.5\.[0-2]/
104
- @compat_flags |= COMPAT_OLD_DHGEX
105
- end
106
107
@algorithms = Algorithms.new(self, options)
108
wait { algorithms.initialized? }
109
end
0 commit comments