unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "stewartbryson@gmail.com" <stewartbryson@gmail.com>
Subject: Yet another TRAMP on Windows question
Date: 3 Oct 2005 14:42:21 -0700	[thread overview]
Message-ID: <1128375741.278185.203850@g44g2000cwa.googlegroups.com> (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'

             reply	other threads:[~2005-10-03 21:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-03 21:42 stewartbryson [this message]
2005-10-05 15:19 ` Yet another TRAMP on Windows question Michael Albinus
     [not found] ` <mailman.9846.1128525557.20277.help-gnu-emacs@gnu.org>
2005-10-05 18:01   ` stewartbryson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1128375741.278185.203850@g44g2000cwa.googlegroups.com \
    --to=stewartbryson@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).