1
<?xml version="1.0" encoding="latin1" ?>
2
<!DOCTYPE chapter SYSTEM "chapter.dtd">
9
<holder>Ericsson AB, All Rights Reserved</holder>
12
The contents of this file are subject to the Erlang Public License,
13
Version 1.1, (the "License"); you may not use this file except in
14
compliance with the License. You should have received a copy of the
15
Erlang Public License along with this software. If not, it can be
16
retrieved online at http://www.erlang.org/.
18
Software distributed under the License is distributed on an "AS IS"
19
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
20
the License for the specific language governing rights and limitations
23
The Initial Developer of the Original Code is Ericsson AB.
26
<title>SSH Release Notes History</title>
28
<responsible></responsible>
34
<file>notes_history.xml</file>
37
<section><title>Ssh 0.9.9.6</title>
39
<section><title>Improvements and New Features</title>
43
Updated asn1 file due to change in the asn1 compiler.
44
This has no semantical effect on the ssh application.</p>
50
Allows for the option {fd, FD} in listen and connect
51
calls. The option is passed on to gen_tcp:listen and
60
<section><title>Ssh 0.9.9.5</title>
62
<section><title>Fixed Bugs and Malfunctions</title>
66
Putty version 0.60 sends ignore messages, which hanged
67
the OTP ssh server.</p>
73
ssh_cm hanged when connection was closed during
74
handshake. (Triggered by putty 0.60 client.)</p>
80
Fixed crash in server when receiving an empty ignore-msg.
81
(From the putty 0.60 client.)</p>
89
<section><title>Improvements and New Features</title>
93
Now uses the base 64 encode/decode function in stdlib.</p>
99
Removed runtime dependency on asn1.</p>
105
Documentation update of ssh.</p>
107
Own Id: OTP-7063 Aux Id: seq10789 </p>
111
Same listener is used for both sshd and sftpd. Previously
112
the sftpd server had to be run on a separate port, now
113
the sshd listener will start an sftpd server when an sftp
116
Own Id: OTP-7090 Aux Id: seq10675 </p>
120
Kebord-interactive support, according to rfc 4256, has
121
been added to the ssh client. Also the option
122
<c>quiet_mode</c> has been added so that unwanted banners
123
may be suppressed.</p>
125
Own Id: OTP-7106 Aux Id: seq10841 </p>
132
<section><title>Ssh 0.9.9.4</title>
134
<section><title>Improvements and New Features</title>
138
[sftpd] - Root parameter now behaves as expected,
139
instead of making sftpd malfunction.</p>
141
Own Id: OTP-7057 Aux Id: seq10830 </p>
147
<section><title>Ssh 0.9.9.3</title>
149
<section><title>Fixed Bugs and Malfunctions</title>
153
The sftp-server could crash if a "ls" was done on the
154
client, and a file was removed while ssh_sftpd:list_dir
155
was reading the directory, an error code from
156
read_file_info wasn't handled properly. This fix makes ls
157
return an error code instead.</p>
159
Own Id: OTP-6854 Aux Id: seq10740 </p>
163
Fixed bugs in prompting in ssl_cli. Prompts like \003>
164
were written as \300>. Also, newlines and returns was
167
Own Id: OTP-6917 Aux Id: seq10773 </p>
172
<section><title>Improvements and New Features</title>
176
[sftpd] - New option "root" to set the root of the
177
sftp-server and the callback module for file handling now
178
has a state parameter.</p>
180
Own Id: OTP-7075 Aux Id: seq10675 </p>
187
<title>Ssh 0.9.9.2</title>
189
<title>Better error-handling in ssh_sshd:listen</title>
190
<list type="bulleted">
192
<p>The caller was hanged when listening with ssh_sshd:listen
193
(or ssh_sftpd:listen) on a port and IP already in use.
194
Now an error is returned instead.</p>
195
<p>Own Id: OTP-6727</p>
201
<title>Fix in ssh_sftpd</title>
202
<list type="bulleted">
204
<p>Cd ../.. didn't work when connecting to a ssh_sftpd server.</p>
205
<p>Own Id: OTP-6727</p>
212
<title>Ssh 0.9.9.1</title>
215
<title>Minor Makefile changes</title>
216
<list type="bulleted">
218
<p>Removed use of <c><![CDATA[erl_flags]]></c> from Makefile.</p>
219
<p>Own Id: OTP-6689</p>
226
<title>Ssh 0.9.9</title>
229
<title>Fixed Bugs and Malfunctions</title>
230
<list type="bulleted">
232
<p>A race condition that could make the server crash if a
233
client sent a SSH_MSG_USERAUTH_REQUEST packet immediately
234
after its SSH_MSG_SERVICE_REQUEST, is removed.</p>
235
<p>Own Id: OTP-6379 Aux Id: seq10523 </p>
242
<title>Ssh 0.9.8</title>
245
<title>Fixed Bugs and Malfunctions</title>
246
<list type="bulleted">
248
<p>Corrected minor bugs and removed dead code found by
250
<p>Own Id: OTP-6524</p>
257
<title>Ssh 0.9.7</title>
260
<title>Fixed Bugs and Malfunctions</title>
261
<list type="bulleted">
263
<p>[sftp] - The function ssh_sftp:make_symlink/3 was not
264
fully implemented.</p>
265
<p>Own Id: OTP-6446</p>
268
<p>[ssh] - An internal value was, due to a bug, always set
269
to undefined even when it was not, this could lead to
270
connections being wrongly refused.</p>
271
<p>Own Id: OTP-6450</p>
274
<p>A pattern matching was missing "/binary" resulting in
275
that the internal function ssh_xfer:decode_acl/2 did not
276
work as expected.</p>
277
<p>Own Id: OTP-6458</p>
280
<p>[sftp] - read_link/2 did not return the documented value</p>
281
<p>Own Id: OTP-6471</p>
284
<p>Removed debugg printouts from ssh_cli.erl</p>
285
<p>Own Id: OTP-6483</p>
288
<p>[sftp, ssh] - The connection timeout was overridden by an
289
internal gen_server default timeout.</p>
290
<p>Own Id: OTP-6488 Aux Id: seq10569 </p>
297
<title>Ssh 0.9.6</title>
300
<title>Fixed Bugs and Malfunctions</title>
301
<list type="bulleted">
303
<p>Removed debug printout from production code.</p>
304
<p>Own Id: OTP-6348 Aux Id: seq10510 </p>
307
<p>[sftpd] - When the sftp client ends the session the
308
server will now behave correctly and not leave the client
310
<p>Own Id: OTP-6349 Aux Id: seq10510 </p>
313
<p>[sftpd] - No longer used files were not closed until the
314
session was ended.</p>
315
<p>Own Id: OTP-6350 Aux Id: seq10514 </p>
318
<p>[sftpd] - File rename requests sent by sftp version 3
319
clients were not handled.</p>
320
<p>Own Id: OTP-6352 Aux Id: seq10513 </p>
323
<p>[sftpd] - Request that did not fit into one ssh message
324
were not handled.</p>
325
<p>Own Id: OTP-6353 Aux Id: seq10515 </p>
328
<p>Removed error logging of auth method none, as this is not
329
an error but rather a feature, that is used to get
330
initial information from the server.</p>
331
<p>Own Id: OTP-6414</p>
337
<title>Improvements and New Features</title>
338
<list type="bulleted">
340
<p>[sftpd] - Added new option to specify a callback module
341
for the sftpd-server file handling. The default callback
342
module uses file and filelib.</p>
343
<p>Own Id: OTP-6356 Aux Id: seq10519 </p>
350
<title>Ssh 0.9.5</title>
353
<title>Fixed Bugs and Malfunctions</title>
354
<list type="bulleted">
356
<p>The data window in SSH wasn't resized in the ssh_cli
357
receive data, this made the ssh_cli-server hang if more
358
than 64K data was received at one time. The option
359
tcp_nodelay was added, for nodelay in tcp connections.</p>
360
<p>Own Id: OTP-6231</p>
367
<title>SSH 0.9.4</title>
370
<title>Reported Fixed Bugs and Malfunctions</title>
371
<list type="bulleted">
373
<p>Unnecessary explicit start of crypto application
374
in ssh application. This has been removed. The
375
app-file specifies that ssh depends on the crypto app.
376
This is enough. See also the
377
<seealso marker="ssh">ssh</seealso> module.</p>
378
<p>Also changed some error reports to info reports.</p>
379
<p>Own Id: OTP-6183</p>
380
<p>Aux Id: Seq 10383</p>
387
<title>SSH 0.9.3</title>
390
<title>Improvements and New Features</title>
391
<list type="bulleted">
393
<p>Added way for cli to get peer name</p>
394
<p>Own Id: OTP-6138</p>
401
<title>SSH 0.9.2</title>
404
<title>Improvements and New Features</title>
405
<list type="bulleted">
407
<p>Added some options to listen</p>
408
<p>Own Id: OTP-6070</p>
415
<title>SSH 0.9.1</title>
416
<section><title>Ssh 0.9.9.4</title>
418
<section><title>Improvements and New Features</title>
422
[sftpd] - Root parameter now behaves as expected,
423
instead of making sftpd malfunction.</p>
425
Own Id: OTP-7057 Aux Id: seq10830 </p>
431
<section><title>Ssh 0.9.9.3</title>
433
<section><title>Fixed Bugs and Malfunctions</title>
437
The sftp-server could crash if a "ls" was done on the
438
client, and a file was removed while ssh_sftpd:list_dir
439
was reading the directory, an error code from
440
read_file_info wasn't handled properly. This fix makes ls
441
return an error code instead.</p>
443
Own Id: OTP-6854 Aux Id: seq10740 </p>
447
Fixed bugs in prompting in ssl_cli. Prompts like \003>
448
were written as \300>. Also, newlines and returns was
451
Own Id: OTP-6917 Aux Id: seq10773 </p>
456
<section><title>Improvements and New Features</title>
460
[sftpd] - New option "root" to set the root of the
461
sftp-server and the callback module for file handling now
462
has a state parameter.</p>
464
Own Id: OTP-7075 Aux Id: seq10675 </p>
471
<title>Ssh 0.9.9.2</title>
473
<title>Better error-handling in ssh_sshd:listen</title>
474
<list type="bulleted">
476
<p>The caller was hanged when listening with ssh_sshd:listen
477
(or ssh_sftpd:listen) on a port and IP already in use.
478
Now an error is returned instead.</p>
479
<p>Own Id: OTP-6727</p>
485
<title>Fix in ssh_sftpd</title>
486
<list type="bulleted">
488
<p>Cd ../.. didn't work when connecting to a ssh_sftpd server.</p>
489
<p>Own Id: OTP-6727</p>
496
<title>Ssh 0.9.9.1</title>
499
<title>Minor Makefile changes</title>
500
<list type="bulleted">
502
<p>Removed use of <c><![CDATA[erl_flags]]></c> from Makefile.</p>
503
<p>Own Id: OTP-6689</p>
510
<title>Ssh 0.9.9</title>
513
<title>Fixed Bugs and Malfunctions</title>
514
<list type="bulleted">
516
<p>A race condition that could make the server crash if a
517
client sent a SSH_MSG_USERAUTH_REQUEST packet immediately
518
after its SSH_MSG_SERVICE_REQUEST, is removed.</p>
519
<p>Own Id: OTP-6379 Aux Id: seq10523 </p>
526
<title>Ssh 0.9.8</title>
529
<title>Fixed Bugs and Malfunctions</title>
530
<list type="bulleted">
532
<p>Corrected minor bugs and removed dead code found by
534
<p>Own Id: OTP-6524</p>
541
<title>Ssh 0.9.7</title>
544
<title>Fixed Bugs and Malfunctions</title>
545
<list type="bulleted">
547
<p>[sftp] - The function ssh_sftp:make_symlink/3 was not
548
fully implemented.</p>
549
<p>Own Id: OTP-6446</p>
552
<p>[ssh] - An internal value was, due to a bug, always set
553
to undefined even when it was not, this could lead to
554
connections being wrongly refused.</p>
555
<p>Own Id: OTP-6450</p>
558
<p>A pattern matching was missing "/binary" resulting in
559
that the internal function ssh_xfer:decode_acl/2 did not
560
work as expected.</p>
561
<p>Own Id: OTP-6458</p>
564
<p>[sftp] - read_link/2 did not return the documented value</p>
565
<p>Own Id: OTP-6471</p>
568
<p>Removed debugg printouts from ssh_cli.erl</p>
569
<p>Own Id: OTP-6483</p>
572
<p>[sftp, ssh] - The connection timeout was overridden by an
573
internal gen_server default timeout.</p>
574
<p>Own Id: OTP-6488 Aux Id: seq10569 </p>
581
<title>Ssh 0.9.6</title>
584
<title>Fixed Bugs and Malfunctions</title>
585
<list type="bulleted">
587
<p>Removed debug printout from production code.</p>
588
<p>Own Id: OTP-6348 Aux Id: seq10510 </p>
591
<p>[sftpd] - When the sftp client ends the session the
592
server will now behave correctly and not leave the client
594
<p>Own Id: OTP-6349 Aux Id: seq10510 </p>
597
<p>[sftpd] - No longer used files were not closed until the
598
session was ended.</p>
599
<p>Own Id: OTP-6350 Aux Id: seq10514 </p>
602
<p>[sftpd] - File rename requests sent by sftp version 3
603
clients were not handled.</p>
604
<p>Own Id: OTP-6352 Aux Id: seq10513 </p>
607
<p>[sftpd] - Request that did not fit into one ssh message
608
were not handled.</p>
609
<p>Own Id: OTP-6353 Aux Id: seq10515 </p>
612
<p>Removed error logging of auth method none, as this is not
613
an error but rather a feature, that is used to get
614
initial information from the server.</p>
615
<p>Own Id: OTP-6414</p>
621
<title>Improvements and New Features</title>
622
<list type="bulleted">
624
<p>[sftpd] - Added new option to specify a callback module
625
for the sftpd-server file handling. The default callback
626
module uses file and filelib.</p>
627
<p>Own Id: OTP-6356 Aux Id: seq10519 </p>
634
<title>Ssh 0.9.5</title>
637
<title>Fixed Bugs and Malfunctions</title>
638
<list type="bulleted">
640
<p>The data window in SSH wasn't resized in the ssh_cli
641
receive data, this made the ssh_cli-server hang if more
642
than 64K data was received at one time. The option
643
tcp_nodelay was added, for nodelay in tcp connections.</p>
644
<p>Own Id: OTP-6231</p>
651
<title>SSH 0.9.4</title>
654
<title>Reported Fixed Bugs and Malfunctions</title>
655
<list type="bulleted">
657
<p>Unnecessary explicit start of crypto application
658
in ssh application. This has been removed. The
659
app-file specifies that ssh depends on the crypto app.
660
This is enough. See also the
661
<seealso marker="ssh">ssh</seealso> module.</p>
662
<p>Also changed some error reports to info reports.</p>
663
<p>Own Id: OTP-6183</p>
664
<p>Aux Id: Seq 10383</p>
671
<title>SSH 0.9.3</title>
674
<title>Improvements and New Features</title>
675
<list type="bulleted">
677
<p>Added way for cli to get peer name</p>
678
<p>Own Id: OTP-6138</p>
685
<title>SSH 0.9.2</title>
688
<title>Improvements and New Features</title>
689
<list type="bulleted">
691
<p>Added some options to listen</p>
692
<p>Own Id: OTP-6070</p>
699
<title>SSH 0.9.1</title>
702
<title>Improvements and New Features</title>
703
<list type="bulleted">
705
<p>Fixes in ssh_sftp, changes of timeout handling,
706
expand_fun moved to io:setopts</p>
707
<p>Own Id: OTP-5877 Aux Id: OTP-5781 </p>
714
<title>SSH 0.9</title>
717
<title>Improvements and New Features</title>
718
<list type="bulleted">
720
<p>The previously undocumented and UNSUPPORTED <c><![CDATA[ssh]]></c>
721
application has been updated and documented. This release
722
of the <c><![CDATA[ssh]]></c> application is still considered to be a
723
beta release and (if necessary) there could still be
724
changes in its API before it reaches 1.0.</p>
725
<p>Also, more cryptographic algorithms have been added to
726
the <c><![CDATA[crypto]]></c> application.</p>
727
<p>*** POTENTIAL INCOMPATIBILITY ***</p>
728
<p>Own Id: OTP-5631</p>