[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35769: issue persists for su, sudo, chained ssh connections
From: |
Tom Gillespie |
Subject: |
bug#35769: issue persists for su, sudo, chained ssh connections |
Date: |
Fri, 27 May 2022 15:56:25 -0700 |
This bug has not been resolved for /su:, /sudo:, and chained
/ssh: connections as of emacs 28.1 tramp 2.5.2.28.1, and
emacs 29 tramp 2.6-pre.
The examples below WILL TRUNCATE YOUR HISTFILE!
So if you are going to run them back it up first!
#+begin_src elisp
;; XXX BACK UP YOUR .bash_history (or similar) BEFORE RUNNING
;; XXX IT WILL BE TRUNCATED
;; in a fresh emacs -Q -no-site-file
(require 'tramp-sh)
(let ((tramp-histfile-override t))
(file-directory-p "/su::.emacs.d"))
;; in a fresh emacs -Q -no-site-file
(require 'tramp-sh)
(let ((tramp-histfile-override t))
(file-directory-p "/ssh:|su::.emacs.d"))
;; in a fresh emacs -Q -no-site-file
(require 'tramp-sh)
(let ((tramp-histfile-override t))
;; change host1 and host2 to hosts that you can access sequentially
(file-directory-p "/ssh:host1|ssh:host2:.emacs.d"))
#+end_src
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#35769: issue persists for su, sudo, chained ssh connections,
Tom Gillespie <=