Reza Housseini <[email protected]> writes: > Hi Michael
Hi Reza, > I'm not sure about the correctness of the commands, but here is the > output anyway: > > ~ $ ssh -V > OpenSSH_8.8p1, OpenSSL 1.1.1m 14 Dec 2021 > ~ $ ssh -o ControlMaster > command-line line 0: no argument after keyword "controlmaster" That's it. OpenSSH has changed the diagnostics, it was "missing argument" before. I've adapted the check in Tramp, see the appended patch. Pushed to the Tramp and Emacs repositories. This change will appear with Emacs 28.1. For now, you can apply the patch directly to your Tramp sources, or you can install Tramp 2.5.2.2 from GNU ELPA, which is planned to be released still in February. > Best regards, > Reza Best regards, Michael.
*** /tmp/ediffZ2Vta6 2022-02-25 10:19:16.687168929 +0100 --- /home/albinus/src/tramp-2-5-stable/lisp/tramp-sh.el 2022-02-25 09:57:23.983499048 +0100 *************** *** 4760,4766 **** (with-temp-buffer (tramp-call-process vec "ssh" nil t nil "-o" "ControlMaster") (goto-char (point-min)) ! (when (search-forward-regexp "missing.+argument" nil t) (setq tramp-ssh-controlmaster-options "-o ControlMaster=auto"))) (unless (zerop (length tramp-ssh-controlmaster-options)) --- 4760,4766 ---- (with-temp-buffer (tramp-call-process vec "ssh" nil t nil "-o" "ControlMaster") (goto-char (point-min)) ! (when (search-forward-regexp "\\(missing\\|no\\).+argument" nil t) (setq tramp-ssh-controlmaster-options "-o ControlMaster=auto"))) (unless (zerop (length tramp-ssh-controlmaster-options))
