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

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

Yet another TRAMP on Windows question


From: address@hidden
Subject: Yet another TRAMP on Windows question
Date: 3 Oct 2005 14:42:21 -0700
User-agent: G2/0.2

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'



reply via email to

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