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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
|
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE chapter SYSTEM "chapter.dtd">
<chapter>
<header>
<copyright>
<year>2004</year><year>2014</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
The contents of this file are subject to the Erlang Public License,
Version 1.1, (the "License"); you may not use this file except in
compliance with the License. You should have received a copy of the
Erlang Public License along with this software. If not, it can be
retrieved online at http://www.erlang.org/.
Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
the License for the specific language governing rights and limitations
under the License.
</legalnotice>
<title>SSH Release Notes</title>
<prepared></prepared>
<docno></docno>
<date></date>
<rev>%VSN%</rev>
<file>notes.xml</file>
</header>
<section><title>Ssh 3.2</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
If a channel is closed by the peer while using a function
with call semantics in ssh_connection.erl return {error,
closed}. Document that the functions can return {error,
timeout | closed} and not only ssh_request_status()</p>
<p>
Own Id: OTP-12004</p>
</item>
<item>
<p>
Bug that causes ssh:connect to return
<c>{error,int()}</c> instead of <c>{error,timeout}</c>
when ssh handshake takes too long time.</p>
<p>
Own Id: OTP-12369</p>
</item>
<item>
<p>
Documentation corrections. (Thanks to Rabbe Fogelholm)</p>
<p>
Own Id: OTP-12399</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Example of ssh_connection:exec added.</p>
<p>
Own Id: OTP-12558</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 3.1</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Make sure the clean rule for ssh, ssl, eunit and otp_mibs
actually removes generated files.</p>
<p>
Own Id: OTP-12200</p>
</item>
<item>
<p>
Improved Property Tests (Thanks to Thomas, John and
Tobias at QuviQ)</p>
<p>
Own Id: OTP-12256</p>
</item>
<item>
<p>
Correct typo of renegotiate that could cause rekeying to
fail</p>
<p>
Own Id: OTP-12277 Aux Id: seq12736 </p>
</item>
<item>
<p>
The {timeout, Timeout} option passed to
ssh_sftp:start_channel was not applied to the early
phases of the SSH protocol. This patch passes the Timeout
through to ssh:connect. In case the timeout occurs during
these phases, {error, timeout} is returned. (Thanks to
Simon Cornish)</p>
<p>
Own Id: OTP-12306</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Added API functions ptty_alloc/3 and ptty_alloc/4, to
allocate a pseudo tty.</p>
<p>
Own Id: OTP-11542 Aux Id: seq12493, OTP-11631 </p>
</item>
<item>
<p>
Supports tar file creation on other media than file
systems mounted on the local machine.</p>
<p>
The <c>erl_tar</c> api is extended with
<c>erl_tar:init/3</c> that enables usage of user provided
media storage routines. A ssh-specific set of such
routines is hidden in the new function
<c>ssh_sftp:open_tar/3</c> to simplify creating a tar
archive on a remote ssh server.</p>
<p>
A chunked file reading option is added to
<c>erl_tar:add/3,4</c> to save memory on e.g small
embedded systems. The size of the slices read from a file
in that case can be specified.</p>
<p>
Own Id: OTP-12180 Aux Id: seq12715 </p>
</item>
<item>
<p>
Always send SSH_DISCONNECT protocol messages when peer
sends corrupt messages.</p>
<p>
Own Id: OTP-12185</p>
</item>
<item>
<p>
Hooks for funs that can change binaries sent to remote
sites from erl_tar for renote tar file creation are
added. See <c>ssh_sftp:open_tar/3,4</c> for details. The
hooks could also be used to read remote tar files that
need transformation before file extraction.</p>
<p>
Those hooks are intended for encryption and decryption of
tar files. Effort is put into memory, disk and network
resource economy.</p>
<p>
Own Id: OTP-12312 Aux Id: OTP-12180 </p>
</item>
</list>
</section>
</section>
<section><title>Ssh 3.0.8</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Fixes of login blocking after port scanning.</p>
<p>
Own Id: OTP-12247 Aux Id: seq12726 </p>
</item>
</list>
</section>
</section>
<section><title>Ssh 3.0.7</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Add option sftp_vsn to SFTP</p>
<p>
Own Id: OTP-12227</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Fix option user_interaction to work as expected. When
password authentication is implemented with ssh
keyboard-interactive method and the password is already
supplied, so that we do not need to query user, then
connections should succeed even though user_interaction
option is set to false.</p>
<p>
Own Id: OTP-11329 Aux Id: seq12420, seq12335 </p>
</item>
</list>
</section>
</section>
<section><title>Ssh 3.0.6</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Gracefully handle bad data from the client when expecting
ssh version exchange.</p>
<p>
Own Id: OTP-12157 Aux Id: seq12706 </p>
</item>
<item>
<p>
When restarting an ssh daemon, that was stopped with
ssh:stop_listner/ [1,2] new options given shall replace
old ones.</p>
<p>
Own Id: OTP-12168 Aux Id: seq12711 </p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
ssh now has a format_status function to avoid printing
sensitive information in error loggs.</p>
<p>
Own Id: OTP-12030</p>
</item>
</list>
</section>
<section><title>Known Bugs and Problems</title>
<list>
<item>
<p>
The option <c>parallel_login</c> didn't work with the
value <c>true</c>. All logins were serial.</p>
<p>
Own Id: OTP-12194</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 3.0.5</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
When starting an ssh-daemon giving the option
{parallel_login, true}, the timeout for authentication
negotiation ({negotiation_timeout, integer()}) was never
removed.</p>
<p>
This caused the session to always be terminated after the
timeout if parallel_login was set.</p>
<p>
Own Id: OTP-12057 Aux Id: seq12663 </p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Warning: this is experimental and may disappear or change
without previous warning.</p>
<p>
Experimental support for running Quickcheck and PropEr
tests from common_test suites is added to common_test.
See the reference manual for the new module
<c>ct_property_testing</c>.</p>
<p>
Experimental property tests are added under
<c>lib/{inet,ssh}/test/property_test</c>. They can be run
directly or from the commont_test suites
<c>inet/ftp_property_test_SUITE.erl</c> and
<c>ssh/test/ssh_property_test_SUITE.erl</c>.</p>
<p>
See the code in the <c>test</c> directories and the man
page for details.</p>
<p>
(Thanks to Tuncer Ayaz for a patch adding Triq)</p>
<p>
Own Id: OTP-12119</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 3.0.4</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
When starting an ssh-daemon giving the option
{parallel_login, true}, the timeout for authentication
negotiation ({negotiation_timeout, integer()}) was never
removed.</p>
<p>
This caused the session to always be terminated after the
timeout if parallel_login was set.</p>
<p>
Own Id: OTP-12057 Aux Id: seq12663 </p>
</item>
</list>
</section>
</section>
<section><title>Ssh 3.0.3</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Removed mail address from error reports and corrected
spelling error (Stacktace -> stacktrace)</p>
<p>
Own Id: OTP-11883 Aux Id: seq12586 </p>
</item>
<item>
<p>
Decode/encode fixes in SSH_MSG_IGNORE and
SSH_MSG_UNIMPLEMENTED.</p>
<p>
Own Id: OTP-11983</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Accepts that some older OpenSSH clients sends incorrect
disconnect messages.</p>
<p>
Own Id: OTP-11972</p>
</item>
<item>
<p>
Handle inet and inet6 option correctly</p>
<p>
Own Id: OTP-11976</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 3.0.2</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Fixed timeout bug in ssh:connect.</p>
<p>
Own Id: OTP-11908</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Option <c>max_sessions</c> added to
<c>ssh:daemon/{2,3}</c>. This option, if set, limits the
number of simultaneous connections accepted by the
daemon.</p>
<p>
Own Id: OTP-11885</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 3.0.1</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Fixes the problem that ssh_cli in some cases could delay
the prompt if a tty was not requested by the client.</p>
<p>
Own Id: OTP-10732</p>
</item>
<item>
<p>
The variable NewCol is now correctly calculated allowing
for tab-completion of function calls even when preceded
with blank space (Thanks to Alexander Demidenko)</p>
<p>
Own Id: OTP-11566</p>
</item>
<item>
<p>
Fix incorrect dialyzer spec and types, also enhance
documentation. </p>
<p>
Thanks to Ayaz Tuncer.</p>
<p>
Own Id: OTP-11627</p>
</item>
<item>
<p>
Fixed a bug when ssh:exec executes a linux command on a
linux ssh daemon. If the result is sent back from
standard error, the length information was not stripped
off correctly.</p>
<p>
Own Id: OTP-11667</p>
</item>
<item>
<p>
Fixed a bug with the ssh file 'known_hosts' which made
the file grow with many equal entries.</p>
<p>
Own Id: OTP-11671</p>
</item>
<item>
<p>
Some local implementations of removing the last element
from a list are replaced by <c>lists:droplast/1</c>. Note
that this requires at least <c>stdlib-2.0</c>, which is
the stdlib version delivered in OTP 17.0. (Thanks to Hans
Svensson)</p>
<p>
Own Id: OTP-11678</p>
</item>
<item>
<p>
Bug fix for <c>ssh:daemon/2,3</c> so that the failfun is
called when it should.</p>
<p>
Own Id: OTP-11680</p>
</item>
<item>
<p>
Fixed bug which crashed ssh when SSH_MSG_KEX_DH_GEX_GROUP
is received. This could cause a vm-crash for eheap_alloc
during garbage collect.</p>
<p>
Own Id: OTP-11696 Aux Id: 12547, 12532 </p>
</item>
<item>
<p>
Fixes a bug that breaks keyboard-interactive
authentication. Thanks to Simon Cornish for reporting and
suggesting a fix.</p>
<p>
Own Id: OTP-11698</p>
</item>
<item>
<p>
dialyzer specs are now correct for <c>ssh:start/0</c>,
<c>ssh:start/1</c>, <c>ssh:stop/0</c> and
<c>ssh_connection_handler:open_channel/5</c>. (Thanks to
Johannes Weißl )</p>
<p>
Own Id: OTP-11705</p>
</item>
<item>
<p>
Application upgrade (appup) files are corrected for the
following applications: </p>
<p>
<c>asn1, common_test, compiler, crypto, debugger,
dialyzer, edoc, eldap, erl_docgen, et, eunit, gs, hipe,
inets, observer, odbc, os_mon, otp_mibs, parsetools,
percept, public_key, reltool, runtime_tools, ssh,
syntax_tools, test_server, tools, typer, webtool, wx,
xmerl</c></p>
<p>
A new test utility for testing appup files is added to
test_server. This is now used by most applications in
OTP.</p>
<p>
(Thanks to Tobias Schlager)</p>
<p>
Own Id: OTP-11744</p>
</item>
<item>
<p>
Fixed dialyzer warning for <c>ssh_connection:send</c>.</p>
<p>
Own Id: OTP-11821</p>
</item>
<item>
<p>
<c>ssh:daemon/2,3</c> : Added options
<c>negotiation_timeout</c> and <c>parallel_login</c> to
tune the authentication behaviour.</p>
<p>
Own Id: OTP-11823</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Ssh now fully supports unicode filenames, filecontents,
shell and cli. Please note that the underlying os and
emulator must also give support for unicode. You may want
to start the emulator with "<c>erl +fnu</c>" on Linux.</p>
<p>
Own Id: OTP-10953</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 3.0</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
The ssh cli is now faster at close and before new prompt.</p>
<p>
Own Id: OTP-11339 Aux Id: seq12423 </p>
</item>
<item>
<p>
Ssh process structure was redesigned to better map to
what is truly parallel this has solved a lot of strange
timing issues that sometimes would occur, for instance a
process leak could happen when a lot of connections where
taken up and down in parallel in a short period of time.
Also backwards compatible clauses to "original" but never
supported features has been removed.</p>
<p>
Impact: Increases flow efficiency</p>
<p>
*** POTENTIAL INCOMPATIBILITY ***</p>
<p>
Own Id: OTP-11363</p>
</item>
<item>
<p>
Fix various typos in erts, kernel and ssh. Thanks to
Martin Hässler.</p>
<p>
Own Id: OTP-11414</p>
</item>
<item>
<p>
Correct private_key type documentation in
ssh_server_key_api. Thanks to Tristan Sloughter.</p>
<p>
Own Id: OTP-11449</p>
</item>
<item>
<p>
The functions in ssh_no_io.erl did not mimic the
functions in ssh_io.erl correctly, the arity was
incorrect for some functions which caused ssh to fail in
the wrong way.</p>
<p>
Own Id: OTP-11490</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Add option to disallow CLI</p>
<p>
Own Id: OTP-10976</p>
</item>
<item>
<p>
Add sockname and user to ssh:connection_info/2</p>
<p>
Own Id: OTP-11296</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 2.1.8</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Do not chmod ~/.ssh unnecessarily.</p>
<p>
Own Id: OTP-11189</p>
</item>
<item>
<p>
Make ssh_cli.erl handle CTRL+C. Thanks to Stefan
Zegenhagen.</p>
<p>
Own Id: OTP-11199</p>
</item>
<item>
<p>
Clarified timeout options in documentation.</p>
<p>
Own Id: OTP-11249</p>
</item>
<item>
<p>
Add openssh_zlib compression type to ssh_transport.
Thanks to Louis-Philippe Gauthier.</p>
<p>
Own Id: OTP-11256</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 2.1.7</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
ssh:daemon will get feeded with an argument even if it is
not a valid expression.</p>
<p>
Own Id: OTP-10975</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Properly ignore everything in lib/ssh/doc/html/. Thanks
to Anthony Ramine.</p>
<p>
Own Id: OTP-10983</p>
</item>
<item>
<p>
Integrate elliptic curve contribution from Andreas
Schultz </p>
<p>
In order to be able to support elliptic curve cipher
suites in SSL/TLS, additions to handle elliptic curve
infrastructure has been added to public_key and crypto.</p>
<p>
This also has resulted in a rewrite of the crypto API to
gain consistency and remove unnecessary overhead. All OTP
applications using crypto has been updated to use the new
API.</p>
<p>
Impact: Elliptic curve cryptography (ECC) offers
equivalent security with smaller key sizes than other
public key algorithms. Smaller key sizes result in
savings for power, memory, bandwidth, and computational
cost that make ECC especially attractive for constrained
environments.</p>
<p>
Own Id: OTP-11009</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 2.1.6</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Fixed timing rekeying bug.</p>
<p>
Own Id: OTP-10940</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 2.1.5</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Bug in rekeying for daemon fixed.</p>
<p>
Own Id: OTP-10911</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Enhanced error message and added test for ssh clients
trying to start non existing subsystems.</p>
<p>
Own Id: OTP-10714</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 2.1.4</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Better quality on the error messages for when key
exchange failed.</p>
<p>
Own Id: OTP-10553 Aux Id: seq12152 </p>
</item>
<item>
<p>
Fix link to documentation for ssh:connect/3,4. Thanks to
Martin Hässler.</p>
<p>
Own Id: OTP-10862</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 2.1.3</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
It is now possible to send an empty binary using
ssh_connection:send/3, this corner case previously caused
ssh_connection:send to hang.</p>
<p>
Own Id: OTP-9478 Aux Id: kunagi-226 [137] </p>
</item>
<item>
<p>
Fix typo in keyboard-interactive string. Thanks to Daniel
Goertzen</p>
<p>
Own Id: OTP-10456</p>
</item>
<item>
<p>
ssh_connectino:send/3 will not return until all data has
been sent. Previously it could return too early,
resulting in things such premature close of the
connection. Also improved error handling of closed SSH
channels.</p>
<p>
Own Id: OTP-10467</p>
</item>
<item>
<p>Fixed ssh_cli.erl crashes because #state.buf is yet
'undefined'.</p> <p>Fixed Client terminateing connections
due to channel_request message response is sent to the
wrong id.</p> <p>Affected SSH clients: - all clients
based on SSH-2.0-TrileadSSH2Java_213 (problem #1) - SSH
Term Pro (problem #2)</p> <p>Thanks to Stefan Zegenhagen
</p>
<p>
Own Id: OTP-10475</p>
</item>
<item>
<p>
Fixed various syntax errors in SSH appup file</p>
<p>
Own Id: OTP-10657</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
SSH_FX_FILE_IS_A_DIRECTORY message for sftp implemented</p>
<p>
Own Id: OTP-6406 Aux Id: kunagi-218 [129] </p>
</item>
<item>
<p>
SSH Rekeying fixed</p>
<p>
Own Id: OTP-7785 Aux Id: kunagi-220 [131] </p>
</item>
<item>
<p>
Added User Guide for the SSH application</p>
<p>
Own Id: OTP-7786 Aux Id: kunagi-221 [132] </p>
</item>
<item>
<p>
Documentation regarding failfun, connectfun and
disconnectfun provided</p>
<p>
Own Id: OTP-7792 Aux Id: kunagi-222 [133] </p>
</item>
<item>
<p>
SSH connection timer implementation</p>
<p>
New option, {idle_time, integer()}, sets a timeout on
connection when no channels are active, defaults to
infinity</p>
<p>
Own Id: OTP-10514 Aux Id: seq12020 </p>
</item>
<item>
<p> Some examples overflowing the width of PDF pages have
been corrected. </p>
<p>
Own Id: OTP-10665</p>
</item>
<item>
<p>
Fixed internal error on when client and server can not
agree o which authmethod to use.</p>
<p>
Own Id: OTP-10731 Aux Id: seq12237 </p>
</item>
</list>
</section>
</section>
<section><title>Ssh 2.1.2.1</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Removed error report in ssh_connection_handler triggered
by badmatch failure.</p>
<p>
Own Id: OTP-11188</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 2.1.2</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
SSH quiet mode</p>
<p>
A new option to ssh:connect/3,4, quiet_mode. If true, the
client will not print out anything on authorization.</p>
<p>
Own Id: OTP-10429 Aux Id: kunagi-273 [184] </p>
</item>
<item>
<p>
Restrict which key algorithms to use</p>
<p>
A new option to ssh:connect/3,4 is introduced,
public_key_algs, where you can restrict which key
algorithms to use and in which order to try them.</p>
<p>
Own Id: OTP-10498 Aux Id: kunagi-289 [200] </p>
</item>
<item>
<p>
Confidentiality of client password</p>
<p>
Unsets clients password after authentication.</p>
<p>
Own Id: OTP-10511 Aux Id: kunagi-292 [203] </p>
</item>
<item>
<p>
Fixed user interaction for SSH</p>
<p>
It's now available to accept hosts and input password</p>
<p>
Own Id: OTP-10513 Aux Id: kunagi-293 [204] </p>
</item>
</list>
</section>
</section>
<section><title>Ssh 2.1.1</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Ssh now only sends one channel close message under all
circumstances, before it would sometimes incorrectly send
two.</p>
<p>
Own Id: OTP-10060</p>
</item>
<item>
<p>
The options check mistreated the ip_v6_disable-option,
and did not handle some, at the moment, undocumented
options correctly.</p>
<p>
Own Id: OTP-10061</p>
</item>
<item>
<p>
The channel id in a channel failure message, sent to the
peer, is now in all cases the remote channel id</p>
<p>
Own Id: OTP-10062</p>
</item>
<item>
<p>
Improved handling of multiple closes to avoid occasional
crashes when a channel is closed more than once.</p>
<p>
Own Id: OTP-10112</p>
</item>
<item>
<p>
Fix lib/src/test/ssh_basic_SUITE.erl to fix IPv6 option
typos</p>
<p>
Fixed incorrect option "ipv6_disable" to "ipv6_disabled"
as documented in the ssh manual.</p>
<p>
Own Id: OTP-10219</p>
</item>
<item>
<p>
SSH: Make "auth_methods" server option re-usable</p>
<p>
The 'auth_methods' option is used by the server side of
the SSH code to tell a connecting SSH client about the
authentication methods that are supported by the server.
The code still extracts and handles the 'auth_methods'
option from Opts in appropriate places, but the Opts
checking code in ssh.erl didn't allow that option to be
specified.</p>
<p>
Own Id: OTP-10224</p>
</item>
<item>
<p>
Use the correct channel id when adjusting the channel
window</p>
<p>
Own Id: OTP-10232</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 2.1</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
All keys in authorized_keys are considerd, wrongly only
the first one was before.</p>
<p>
Own Id: OTP-7235</p>
</item>
<item>
<p>
ssh daemon now properly handles ras host keys, in
previous versions only dsa host keys sufficed to set up a
connection.</p>
<p>
Own Id: OTP-7677</p>
</item>
<item>
<p>
ssh:shell/3 and ssh:connect/3 does not hang anymore if
connection negotiation fails</p>
<p>
Own Id: OTP-8111</p>
</item>
<item>
<p>
Improve check so that we will not try to read ssh packet
length indicator if not sure we have enough data.</p>
<p>
Own Id: OTP-8380</p>
</item>
<item>
<p>
Do not try to use user interaction when it is disabled.</p>
<p>
Own Id: OTP-9466 Aux Id: seq11886 </p>
</item>
<item>
<p>
Improved error handling of internal errors i the ssh
connection handling process</p>
<p>
Own Id: OTP-9905</p>
</item>
<item>
<p>
sftp daemon generates file handles correct</p>
<p>
Own Id: OTP-9948</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Document supported algorithms</p>
<p>
Own Id: OTP-8109</p>
</item>
<item>
<p>
Graceful handling of premature close from an sftp client.</p>
<p>
Own Id: OTP-9391 Aux Id: seq11838 </p>
</item>
<item>
<p>
Changed ssh implementation to use the public_key
application for all public key handling. This is also a
first step for enabling a callback API for supplying
public keys and handling keys protected with password
phrases. </p>
<p>
Additionally the test suites where improved so that they
do not copy the users keys to test server directories as
this is a security liability. Also ipv6 and file access
issues found in the process has been fixed.</p>
<p>
This change also solves OTP-7677 and OTP-7235</p>
<p>
This changes also involves some updates to public_keys
ssh-functions.</p>
<p>
Own Id: OTP-9911</p>
</item>
<item>
<p>
Added options for the ssh client to support user keys
files that are password protected.</p>
<p>
Own Id: OTP-10036 Aux Id: OTP-6400, Seq10595 </p>
</item>
</list>
</section>
</section>
<section><title>Ssh 2.0.9</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>Erlang/OTP can now be built using parallel make if you
limit the number of jobs, for instance using '<c>make
-j6</c>' or '<c>make -j10</c>'. '<c>make -j</c>' does not
work at the moment because of some missing
dependencies.</p>
<p>
Own Id: OTP-9451</p>
</item>
<item>
<p>
Ssh behaviours now use the new directive "-callback".
Parameters will be further specified in a later version
of ssh.</p>
<p>
Own Id: OTP-9796</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 2.0.8</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Calling ssh_sftp:stop_channel/1 resulted in that the trap_exit flag was
set to true for the invoking process.</p>
<p>
Own Id: OTP-9386 Aux Id: seq11865</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 2.0.7</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
An unexpected message would crash the ssh_connection_handler and close
the connection. Now an error message is generated instead.</p>
<p>
Own Id: OTP-9273</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 2.0.6</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
A memory leak has been fixed. I.e. per terminated connection the size of
a pid and the length of a user name string was not cleared.</p>
<p>
Own Id: OTP-9232</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 2.0.5</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Strengthened random number generation. (Thanks to Geoff Cant)</p>
<p>
Own Id: OTP-9225</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 2.0.4</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>In some cases SSH returned {error, normal} when a channel was terminated
unexpectedly. This has now been changed to {error, channel_closed}.</p>
<p>
*** POTENTIAL INCOMPATIBILITY ***</p>
<p>
Own Id: OTP-8987 Aux Id: seq11748</p>
</item>
<item>
<p>
SSH did not handle the error reason enetunreach
when trying to open a IPv6 connection.</p>
<p>
Own Id: OTP-9031</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
It is now possible to use SSH to sign and verify binary data.</p>
<p>
Own Id: OTP-8986</p>
</item>
<item>
<p>
SSH now ensures that the .ssh directory exists before trying
to access files located in that directory.</p>
<p>
Own Id: OTP-9010</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 2.0.3</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
The fix regarding OTP-8849 was not included in the
previous version as stated.</p>
<p>
Own Id: OTP-8918</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 2.0.2</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
The ssh_system_sup did not catch noproc and shutdown
messages.</p>
<p>
Own Id: OTP-8863</p>
</item>
<item>
<p>
In some cases a crash report was generated when a
connection was closing down. This was caused by a race
condition between two processes.</p>
<p>
Own Id: OTP-8881 Aux Id: seq11656, seq11648 </p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
SSH no longer use deprecated public_key functions.</p>
<p>
Own Id: OTP-8849</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 2.0.1</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
SSH in some cases terminated channels with reason normal
when it should have been shutdown.</p>
<p>
Own Id: OTP-8714</p>
</item>
<item>
<p>
SSH in some cases generated a crash report when a channel
was closed in a normal way.</p>
<p>
Own Id: OTP-8735 Aux Id: seq11615 </p>
</item>
<item>
<p>
The processes ssh_subsystem_sup and one ssh_channel_sup
was not terminated when a connection was closed.</p>
<p>
Own Id: OTP-8807</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 2.0</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>The function ssh:connect/4 was not exported.</p>
<p>Own Id: OTP-8550 Aux Id:</p>
</item>
<item>
<p>Aligned error message with used version (SSH_FX_FAILURE vs
SSH_FX_NOT_A_DIRECTORY, the latter introduced in version 6).</p>
<p>
*** POTENTIAL INCOMPATIBILITY ***</p>
<p>Own Id: OTP-8644 Aux Id: seq11574</p>
</item>
<item>
<p>Resolved race condition when another connection is started
before a channel is opened in the first connection.</p>
<p>Own Id: OTP-8645 Aux Id: seq11577</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>The configuration parameter ip_v6_disabled is now available,
which makes it possible for the user to alter the IP version
SSH shall use.</p>
<p>
*** POTENTIAL INCOMPATIBILITY ***</p>
<p>Own Id: OTP-8535 Aux Id:</p>
</item>
<item>
<p>The ssh_connection:send operation now accepts infinity as timeout.</p>
<p>Own Id: OTP-8534 Aux Id:</p>
</item>
<item>
<p>The connection handler now include stack traces when a channel
message is not handled correctly.</p>
<p>Own Id: OTP-8524 Aux Id:</p>
</item>
<item>
<p>Removed deprecated modules (ssh_ssh, ssh_sshd and ssh_cm) and
functions (ssh_sftp:connect and ssh_sftp:stop).</p>
<p>
*** POTENTIAL INCOMPATIBILITY ***</p>
<p>Own Id: OTP-8596 Aux Id:</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 1.1.8</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
In some cases SSH ceased to collect more data from the transport layer.</p>
<p>
Own Id: OTP-8401 Aux Id: seq11479</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>Old release notes removed.</p>
<p>Own Id: OTP-8356 Aux Id:</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 1.1.7</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Now clear all processes when a connnection is terminated.</p>
<p>
Own Id: OTP-8121 Aux Id:</p>
</item>
<item>
<p>
In some rare cases the connection handler could enter an infinite loop.</p>
<p>
Own Id: OTP-8277 Aux Id: seq11428</p>
</item>
<item>
<p>
If an SFTP server did not respond with EOF, the function
ssh_sftp:list_dir/2/3 would enter an infinite loop.</p>
<p>
Own Id: OTP-8278 Aux Id: seq11450</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
The documentation is now built with open source tools (xsltproc and fop)
that exists on most platforms. One visible change is that the frames are removed.</p>
<p>
Own Id: OTP-8201 Aux Id:</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 1.1.6</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
ssh_sftp:start_channel did not handle all possible return
values from ssh_channel:start correctly.
</p>
<p>
Own Id: OTP-8176 Aux Id: </p>
</item>
<item>
<p>
SFTPD did not handle rename command (version 4) correctly.
</p>
<p>
Own Id: OTP-8175 Aux Id: seq11373</p>
</item>
<item>
<p>
If a connection manager already had been terminated it could cause a channel
to generate a crash report when it was about to stop.
</p>
<p>
Own Id: OTP-8174 Aux Id: seq11377</p>
</item>
<item>
<p>
Requests could result in badarg or badmatch EXIT messages in the connection
manager if the channel no longer existed.</p>
<p>
Own Id: OTP-8173 Aux Id: seq11379</p>
</item>
<item>
<p>
ssh_transport:unpack/3 could cause a badarg error.</p>
<p>
Own Id: OTP-8162 Aux Id:</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
The encryption algorithm aes128-cbc is now supported.
Requires that crypto-1.6.1 is available.</p>
<p>
Own Id: OTP-8110 Aux Id:</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 1.1.5</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
ssh_sftp:start_channel/3 did not handle timout correctly.</p>
<p>
Own Id: OTP-8159 Aux Id: seq11386</p>
</item>
<item>
<p>
If a progress message was not recieved after invoking ssh:connect/3
the call could hang for ever. A timeout option has also been added.</p>
<p>
Own Id: OTP-8160 Aux Id: seq11386</p>
</item>
<item>
<p>
A comma has been missing in the ssh.appup file since SSH-1.0.2.</p>
<p>
Own Id: OTP-8161 Aux Id:</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 1.1.4</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
SSH sometimes caused a crash report at disconnect.</p>
<p>
Own Id: OTP-8071 Aux Id: seq11319</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 1.1.3</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
The operation ssh_sftp:stop_channel/1 returned an
exception if the connection already had been closed.</p>
<p>
Own Id: OTP-7996 Aux Id: seq11281</p>
</item>
<item>
<p>
SSH did not handle if supervisor:start_child/2 returned
{error, already_present}.</p>
<p>
Own Id: OTP-8034 Aux Id: seq11307</p>
</item>
<item>
<p>
SSH no longer cause supervisor reports when a connection is
terminated in a controlled manner.</p>
<p>
Own Id: OTP-8035 Aux Id: seq11308</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 1.1.2</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Ssh confused local and remote channel id's, which in some
cases resulted in that messages were discarded.</p>
<p>
Own Id: OTP-7914 Aux Id: seq11234</p>
</item>
<item>
<p>
Ssh could not handle echo values other than 0 and 1.</p>
<p>
Own Id: OTP-7917 Aux Id: seq11238</p>
</item>
<item>
<p>
A crash occurred if a non-valid channel reference was received.</p>
<p>
Own Id: OTP-7918 Aux Id: seq11238</p>
</item>
<item>
<p>
Sftpd connections was not closed after receiving eof from a client.</p>
<p>
Own Id: OTP-7921 Aux Id: seq11222</p>
</item>
<item>
<p>
It was not possible to start a SFTP subsystem on certain platforms,
i.e. those who do not support symbolic links.</p>
<p>
Own Id: OTP-7930 Aux Id: </p>
</item>
<item>
<p>
In some cases the message {ssh_cm, ssh_connection_ref(), {closed, ssh_channel_id()}}
was not passed to the registered callback module.</p>
<p>
Own Id: OTP-7957 Aux Id: </p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
By using the sftpd option {max_files, Integer}, the message
size for READDIR commands can be reduced.</p>
<p>
Own Id: OTP-7919 Aux Id: seq11230</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 1.1.1</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
The erlang ssh server has presented itself incorrectly,
using the special version ssh-1.99, although it never has
supported versions below 2.0. Since ssh-1.1 client
versions below 2.0 are correctly rejected instead of
letting the server crash later on. Alas the problem with
the presentation string was not discovered until after
ssh.1.1 was released. Now the server will present itself
as ssh-2.0.</p>
<p>
Own Id: OTP-7795</p>
</item>
<item>
<p>
An internal function call used an incorrect parameter, which
caused problem when the old listen API was used. This was
introduced in Ssh-1.1.</p>
<p>
Own Id: OTP-7920 Aux Id: seq11211</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Ssh timeouts will now behave as expected i.e. defaults to
infinity only the user of the ssh application can know of
a reasonable timeout value for their application.</p>
<p>
*** POTENTIAL INCOMPATIBILITY ***</p>
<p>
Own Id: OTP-7807</p>
</item>
<item>
<p>
The implementation of timeouts added as a patch in
ssh-1.0.1 was slightly changed and is now documented.</p>
<p>
Own Id: OTP-7808</p>
</item>
<item>
<p>
To honor the multiplexing of channels over one ssh
connection concept ssh_sftp:connect/ [1,2,3] is
deprecated and replaced by ssh_sftp:start_channel/[1,2,3]
and ssh_sftp:stop/1 is deprecated and replaced by
ssh_sftp:stop_channel/1 and to stop the ssh connection
ssh:close/ 1 should be called.</p>
<p>
Own Id: OTP-7809</p>
</item>
<item>
<p>
Added the message {ssh_channel_up, ChannelId,
ConnectionManager} that shall be handled by the channel
callback handle_msg/2. This makes the function
handle_msg/2 a mandatory function for ssh channels
implementations which it was not in ssh-1.1.</p>
<p>
*** POTENTIAL INCOMPATIBILITY ***</p>
<p>
Own Id: OTP-7828</p>
</item>
</list>
</section>
</section>
<section><title>Ssh 1.1</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
A flaw in the implementation of the supervision tree
caused the ssh daemon to close the connections to all
currently logged in users if one user logged out. Another
problem related to the supervision tree caused the closing
down of clients to leak processes i.e. all processes was
not shutdown correctly.</p>
<p>
Own Id: OTP-7676</p>
</item>
<item>
<p>
Tabs could cause ssh_cli to print things in a surprising
way.</p>
<p>
Own Id: OTP-7683 Aux Id: seq11102 </p>
</item>
<item>
<p>
[sftp, sftpd] - Added patch to make sftp timestamps more
correct, in the long run it would be nice to have better
support in file to be able to make it always behave
correctly now it will be correct 99 % of time instead of
almost never correct, at least on unix-based platforms.</p>
<p>
Own Id: OTP-7685 Aux Id: seq11082 </p>
</item>
<item>
<p>
[sftpd] - Added patch to further improve handling of
symbolic links in the sftp-server.</p>
<p>
Own Id: OTP-7766 Aux Id: seq11101 </p>
</item>
<item>
<p>
Ssh incorrectly sent the local id instead of the remote
id of a channel to the peer. For simpler cases these ids
often happen to have the same value. One case when they
do not is when the client sends an exec command two times
in a raw on the same ssh connection (different channels
of course as the channel will be closed when the exec
command has been evaluated) .</p>
<p>
Own Id: OTP-7767</p>
</item>
<item>
<p>
Packet data could be lost under high load due to the fact
that buffered data was sometimes wrongly discarded before
it had been sent.</p>
<p>
Own Id: OTP-7768</p>
</item>
<item>
<p>
Improved ipv6-handling as some assumptions about inet
functions where incorrect.</p>
<p>
Own Id: OTP-7770</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Added new API function ssh:connection_info/2.</p>
<p>
Own Id: OTP-7456</p>
</item>
<item>
<p>
Now starts ssh channel processes later avoiding
synchronization problems between processes.</p>
<p>
Own Id: OTP-7516</p>
</item>
<item>
<p>
Ssh now rejects old versions of the ssh protocol for
security reasons. (Even if they where not correctly
rejected before the connection would probably have failed
anyway due to other reasons.)</p>
<p>
Own Id: OTP-7645 Aux Id: seq11094 </p>
</item>
<item>
<p>
New API module ssh_channel has been added. This is a
behaviour to facilitate the implementation of ssh clients
and plug in subsystems to the ssh daemon. Note that this
slightly changes the options to the API function
ssh:daemon/[1,2,3] deprecating all no longer documented
options. Note that the new API enforces the "logical way"
of using the old API i.e. making the subsystem process
part of the ssh applications supervisor tree, so missuses
of the old API are not compatible with the new API.</p>
<p>
*** POTENTIAL INCOMPATIBILITY ***</p>
<p>
Own Id: OTP-7769</p>
</item>
</list>
</section>
<section><title>Known Bugs and Problems</title>
<list>
<item>
<p>
Public keys protected by a password are currently not
handled by the erlang ssh application.</p>
<p>
Own Id: OTP-6400 Aux Id: 10595 </p>
</item>
</list>
</section>
</section>
<section><title>Ssh 1.0.2</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
[sftpd] - Listing of symbolic link directories should now
work as expected.</p>
<p>
Own Id: OTP-7141 Aux Id: seq10856 </p>
</item>
</list>
</section>
</section>
<section><title>Ssh 1.0.1</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
[sftp] - When listing a directory with more than 100
files only the first 100 where listed. This has now been
fixed.</p>
<p>
Own Id: OTP-7318 Aux Id: seq10953 </p>
</item>
<item>
<p>
When restarting an ssh-system the expected return value
from ssh_system_sup:restart_acceptor/2 was incorrect,
this is no longer the case.</p>
<p>
Own Id: OTP-7564 Aux Id: seq11055 </p>
</item>
<item>
<p>
A few minor bugs where fixed in ssh_userreg.erl and
ssh_connection_manager and a a ssh_cli option was added
to restore backwards compatibility with the old ssh_cm -
API.</p>
<p>
Own Id: OTP-7565</p>
</item>
<item>
<p>
Fixed bug in ipv6 support and added option to disable
ipv6 as a workaround for badly configured computers.</p>
<p>
Own Id: OTP-7566</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
[sftp] - Option added to set timeout value in sftp.</p>
<p>
Own Id: OTP-7305 Aux Id: seq10945 </p>
</item>
</list>
</section>
</section>
<section><title>Ssh 1.0</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Removed some special handling of prompts that made ssh
behave differently than openssh.</p>
<p>
Own Id: OTP-7485 Aux Id: seq11025 </p>
</item>
<item>
<p>
Bug in encoding of pty opts has been fixed.</p>
<p>
Own Id: OTP-7504</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
The architecture of the ssh processes has been
reconstructed to fit in a supervision tree as to become a
real OTP application and benefit from this when starting
and stopping.</p>
<p>
Own Id: OTP-7356 Aux Id: seq10899 </p>
</item>
<item>
<p>
Support for pty option echo off added. Requires kernel
from R12B-4.</p>
<p>
*** POTENTIAL INCOMPATIBILITY ***</p>
<p>
Own Id: OTP-7502 Aux Id: seq10959 </p>
</item>
<item>
<p>
The ssh API has been enhanced a lot of old API functions
has become deprecated.</p>
<p>
Own Id: OTP-7503</p>
</item>
</list>
</section>
</section>
</chapter>
|