tramp-devel
[Top][All Lists]
Advanced

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

Re: problems with tramp in NT Emacs


From: Eric S. Johansson
Subject: Re: problems with tramp in NT Emacs
Date: Mon, 06 Oct 2008 17:47:22 -0400
User-agent: Thunderbird 2.0.0.17 (Windows/20080914)

Michael Albinus wrote:
> "Eric S. Johansson" <address@hidden> writes:
> 
>> Michael Albinus wrote:
>>> "Eric S. Johansson" <address@hidden> writes:
>>>
>>>>  '(tramp-debug-buffer t)
>>>>  '(tramp-default-method "c:/Program Files/PuTTY/plink.exe")
>>> `tramp-default-method' shall be "plink". If you still have trouble, you
>>> might also set `tramp-verbose' to 9, and show us the debug buffer.
>> it was plink before but the command was not found until I spelled it out 
>> explicitly
> 
> Sorry, I'm lost. What do you want to tell me?
> 
> `tramp-default-method' must have set "plink", and not a full path
> name. If the program plink.exe is not found, %PATH% must be adapted
> accordingly.

ah, not clear from doc's I read.  I thought I could specify the command right in
lisp.  well, I made you changes and got:

# Opening connection for address@hidden using nil...
# plink 192.168.8.231 -l ericj -ssh
# Waiting for prompts from remote shell
# Waiting 60s for prompt from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase\).*: ? *" from remote shell
# Looking for regexp ".*ogin\( .*\)?: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*" from remote shell
# Looking for regexp "^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key
verification failed\.\|Login \(?:[Ii]ncorrect\)\|Name or service not
known\|\(?:Permission denied\|Sorry, try again\)\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n,
Return cancels connectio\)n)\)\s-*" from remote shell
# Looking for regexp "\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*" from remote 
shell
# Looking for regexp "" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase\).*: ? *" from remote shell
# Looking for regexp ".*ogin\( .*\)?: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*" from remote shell
# Looking for regexp "^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key
verification failed\.\|Login \(?:[Ii]ncorrect\)\|Name or service not
known\|\(?:Permission denied\|Sorry, try again\)\.\).*\|^.*\(Received signal
[0-9]+\).*" from remote shell
# Looking for regexp "\(Are you sure you want to continue connecting
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n,
Return cancels connectio\)n)\)\s-*" from remote shell


so from a Windows shell, I connected to the same host and accepted the key.
Went back in next and reconnected to the same host.  Almost.

exec env 'ENV=' 'PROMPT_COMMAND=' 'PS1=$ ' /bin/sh
$ exec env 'ENV=' 'PROMPT_COMMAND=' 'PS1=$ ' /bin/sh
$
# Setting up remote shell environment
$ stty -inlcr -echo kill '^U'
stty -inlcr -echo kill '^U'

$ $ $ [[Regexp `\(^[^#$%>
]*[#$%>] *\|^[^#$%>
]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'' not found in 30 secs]]

the second error is where I was failing when this mess started.

---eric




reply via email to

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