Good afternoon. To visit the local sudo privilege file, I use the tramp command:
Is it possible to open a remote file with sudo privileges if emacs already uses tramp, and the invitation to enter visiting the file looks like:
It seems to me there should be a team to change the privileges of opening files when emacs is already working with deleted files. Thanks.
Thank you, Michael Albinus, you get a new jump, and you can’t use the fact that you already reached the host. I use an ssh certificate to access the host (it is written in the configuration file, thank you again for this personally), a third-party application forms the command (in this case, my command looks like this:
/usr/local/bin/emacs -eval ' (progn (require (quote tramp-sh)) (let ((args (assoc (quote tramp-login-args) (assoc "ssh" tramp-methods)))) (setcar (cdr args) (append (quote (("-F" "/home/alamd/ПакетыДоступа/al_kuhnia/config"))) (cadr args)))))' \ "/ssh:remoteHost: ~"
Next, emacs opens the user folder. It turns out then how can I transfer the configuration file for ssh again to tramp