나는 이맥스 트램프에서 plink.exe를 사용하여 SSH를 시도하고있다. 나는 정상적인 터미널에서 작동 plink.exe을 다운로드 한 적이 있지만 나는패스워드를 보낸 후 트램프가 멈춤
CX Cf를 미니 버퍼에서
/[email protected]:/afs/cad/u/g/g/gg88/public_html/index.html
에게,
Tramp: Waiting for prompts from remote shell also appears.
C를 사용하는 경우 :/사용자/이름/이맥스 -24.3/bin 여기서 plink.exe는 exec-path에 있습니다. .emacs에는이 줄만 포함되어 있습니다. 간부 경로를 확인하는 것이 포함되어 있습니까 후에 그러나 디렉토리 plink.exe은에
(require 'tramp)
(setq tramp-default-method "plink")
이 다 가고, MX의 eshell을 사용하여도 아무 문제가 없습니다 :. /Users/name/emacs-24.3/bin, 그리고
를 실행plink.exe [email protected]
다음 단계로이 작업을 수행하려면 어떻게해야합니까?
편집 당함 경로 변수에 직접 가용 스루풋 경로를 추가하여 인식 할 수 있도록 가용 스루풋 여전히 버퍼
Tramp: Waiting for prompts from remote shell also appears.
문제를
Edit2가 메시지를
Tramp: Opening connection for [email protected] using plink...
Tramp: Sending command `plink -l gg88 -ssh afs1.njit.edu && exit || exit'
Tramp: Waiting for prompts from remote shell
Tramp: Sending Password
Tramp: Waiting for prompts from remote shell [7 times]
Tramp: Sending command `plink -l gg88 -ssh afs1.njit.edu && exit || exit'
Tramp: Opening connection for [email protected] using plink...done
Quit [2 times]
OT1H 당신은 "plink.exe가 exec-path에있는 디렉토리를 추가했습니다"라고 말했지만 OTOH에서는 exec-path를 만지지 않는 .emacs를 보여줍니다. 무엇 이니? BTW, Tramp는 기본적으로 활성화되어 있으므로'(require 'tramp)'는 필요 없습니다. – Stefan
plink.exe가 bin에있는 곳에 (add-to-list 'exec-path "C :/Users/name/emacs24-3/bin") 사용했습니다. .emacs에는 없지만 C-h v exec-path로 값을 확인할 때 그 경로는 여전히 존재합니다. – Garvin
마지막으로 PINK 변수에 추가하여 plink를 인식하지만 Tramp : 원격 쉘에서 프롬프트 대기 중이 나타납니다. 여전히 문제입니다 – Garvin