all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Yet another TRAMP on Windows question
@ 2005-10-03 21:42 stewartbryson
  2005-10-05 15:19 ` Michael Albinus
       [not found] ` <mailman.9846.1128525557.20277.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: stewartbryson @ 2005-10-03 21:42 UTC (permalink / raw)


I have worked for months now to try and get TRAMP working with cygwin
or putty on Windows. I have tried at least 100 different solutions and
none of them work. I can successfully ssh, sftp, scp, etc, to remote
hosts and do not have to provide passwords as I successfully have
ssh-agent working for the cygwin bash shell.

I've seen numerous posts from Kai et al, yet nothing works. I've had
every conceivable error message imaginable depending on who's supposed
solution I've tried, so I simply don't know which test case to post.
Below are some of the scenarios I've tried. If anyone is interesting in
walking me through a solution they know to work from the start, I'LL
TRY ANYTHING!!!

Thanks.


With sshx:

Buffer *tramp/sshx brysons@cerberus.mis.vanderbilt.edu* contents:

/home/brysons
sh-2.05b$ sh-2.05b$

Buffer *debug tramp/sshx brysons@cerberus.mis.vanderbilt.edu* contents:

# Opening connection for brysons@cerberus.mis.vanderbilt.edu using
sshx...
# Waiting 60s for local shell to come up...
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

c:\DOCUME~1\brysons\LOCALS~1\Temp># Sending command `ssh
cerberus.mis.vanderbilt.edu -l brysons  -e none -t -t /bin/sh || exit'
# Waiting for prompts from remote shell
# Waiting 60s for prompt from remote shell on host
cerberus.mis.vanderbilt.edu
# 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\.\|Tramp connection
closed\).*\|^.*\(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/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
# Found remote shell prompt on `cerberus.mis.vanderbilt.edu'
# Sending command to remote shell: unset HISTORY
$ unset HISTORY
# Opening connection for brysons@cerberus.mis.vanderbilt.edu using
sshx...
# Waiting 60s for local shell to come up...
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

c:\DOCUME~1\brysons\LOCALS~1\Temp># Sending command `ssh
cerberus.mis.vanderbilt.edu -l brysons  -e none -t -t /bin/sh || exit'
# Waiting for prompts from remote shell
# Waiting 60s for prompt from remote shell on host
cerberus.mis.vanderbilt.edu
# 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\.\|Tramp connection
closed\).*\|^.*\(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/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
# Found remote shell prompt on `cerberus.mis.vanderbilt.edu'
# Sending command to remote shell: unset HISTORY
$ unset HISTORY
$ cd ~; pwd

With plink:

Contents of *tramp/plink brysons@cerberus.mis.vanderbilt.edu* buffer:

stty -inlcr -echo kill '^U'
$ $

Contents of *debug tramp/plink brysons@cerberus.mis.vanderbilt.edu*
buffer:

# Opening connection for brysons@cerberus.mis.vanderbilt.edu using
plink...
# Waiting 60s for local shell to come up...
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

c:\DOCUME~1\brysons\LOCALS~1\Temp># Sending command `plink
cerberus.mis.vanderbilt.edu -l brysons  -ssh || exit'
# Waiting for prompts from remote shell
# Waiting 60s for prompt from remote shell on host
cerberus.mis.vanderbilt.edu
# 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\.\|Tramp connection
closed\).*\|^.*\(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/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
# Sending password
# 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\.\|Tramp connection
closed\).*\|^.*\(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/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\.\|Tramp connection
closed\).*\|^.*\(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/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
# Found remote shell prompt on `cerberus.mis.vanderbilt.edu'
# Sending command to remote shell: unset HISTORY
$ unset HISTORY
unset HISTORY
_]0;brysons@cerberus:~ [brysons@cerberus brysons]$
_]0;brysons@cerberus:~ [brysons@cerberus brysons]$ # Sending command to
remote shell: unset correct
$ unset correct
unset correct
_]0;brysons@cerberus:~ [brysons@cerberus brysons]$
_]0;brysons@cerberus:~ [brysons@cerberus brysons]$ # Sending command to
remote shell: unset autocorrect
$ unset autocorrect
unset autocorrect
_]0;brysons@cerberus:~ [brysons@cerberus brysons]$
_]0;brysons@cerberus:~ [brysons@cerberus brysons]$ $ exec env 'ENV='
'PS1=$ ' /bin/sh
# Waiting 30s for remote `/bin/sh' to come up...
exec env 'ENV=' 'PS1=$ ' /bin/sh
$
$ exec env 'ENV=' 'PS1=$ ' /bin/sh
$ 
$ # Setting up remote shell environment
$ stty -inlcr -echo kill '^U'

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-05 18:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-03 21:42 Yet another TRAMP on Windows question stewartbryson
2005-10-05 15:19 ` Michael Albinus
     [not found] ` <mailman.9846.1128525557.20277.help-gnu-emacs@gnu.org>
2005-10-05 18:01   ` stewartbryson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.