File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 1
1
Back In Time
2
2
3
+ Version 1.3.0
4
+ * Fix bug: SSH module didn't send identification string while checking if remote host is avilable (https://github.com/bit-team/backintime/issues/1030)
5
+
3
6
Version 1.2.0
4
7
* Fix bug: Exit code is linked to the wrong status message (https://github.com/bit-team/backintime/issues/906)
5
8
* minor changes to allow running BiT inside Docker (https://github.com/bit-team/backintime/pull/959)
Original file line number Diff line number Diff line change @@ -492,11 +492,13 @@ def checkPingHost(self):
492
492
if not self .config .sshCheckPingHost (self .profile_id ):
493
493
return
494
494
logger .debug ('Check ping host' , self )
495
+ versionString = 'SSH-2.0-backintime_{}\r \n ' .format (self .config .VERSION ).encode ()
495
496
count = 0
496
497
while count < 5 :
497
498
try :
498
499
with socket .create_connection ((self .host , self .port ), 2.0 ) as s :
499
500
result = s .connect_ex (s .getpeername ())
501
+ s .sendall (versionString )
500
502
except :
501
503
result = - 1
502
504
if result == 0 :
You can’t perform that action at this time.
0 commit comments