help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tramp prompt (?) issue


From: Emanuel Berg
Subject: Re: Tramp prompt (?) issue
Date: Tue, 18 Aug 2020 19:04:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Michael Albinus wrote:

> Which Tramp message do you get?

If you mean the log, this is the most recent attempt:
 
  
https://dataswamp.org/~incal/tramp-debug/11/debug-tramp-myssh-embe8573-polhem-it-uu-se

Here is the command that works. Well, it doesn't work
because of the old problem, but it displays the
password prompt so it gets further, at least.

I don't know if I made some mistake doing the "x"
version?

;;; -*- lexical-binding: t -*-
;;;
;;; this file:
;;;   http://user.it.uu.se/~embe8573/emacs-init/tramp-my.el
;;;   https://dataswamp.org/~incal/emacs-init/tramp-my.el

(require 'tramp)

(setq tramp-default-method "ssh")
(setq tramp-verbose 10)

(add-to-list 'tramp-methods
  '("myssh"
    (tramp-login-program "ssh")
    (tramp-login-args (("-l" "%u")
                       ("-p" "%p")
                       ("%c")
                       ("-e" "none")
                       ("-t" "-t")
                       ("%h")
                       ("\"/bin/sh -i\"") ))
    (tramp-async-args (("-q")))
    (tramp-remote-shell "/bin/sh")
    (tramp-remote-shell-login ("-l"))
    (tramp-remote-shell-args  ("-c")) ))

;; (find-file  "/myssh:embe8573@polhem.it.uu.se:darn.txt")
;; (find-file "/mysshx:embe8573@polhem.it.uu.se:darn.txt")

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]