[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: tramp (2.1.3); cannot open remote files or directories using plink m
From: |
Bryson, Stewart |
Subject: |
RE: tramp (2.1.3); cannot open remote files or directories using plink method |
Date: |
Wed, 5 Oct 2005 15:58:35 -0500 |
Thanks again for your help Michael.
Here are the results.
First... at the end of my .bash_profile, I placed:
export PS1="$"
That way... there shouldn't be an issue with the prompt. However... I
got basically the same results.
Contents of *tramp/plink address@hidden
stty -inlcr -echo kill '^U'
$ $
Contents of *debug tramp/plink address@hidden
# Opening connection for address@hidden 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;address@hidden:~ $
_]0;address@hidden:~ $# Sending command to remote shell: unset correct
$ unset correct
unset correct
_]0;address@hidden:~ $
_]0;address@hidden:~ $# Sending command to remote shell: unset
autocorrect
$ unset autocorrect
unset autocorrect
_]0;address@hidden:~ $
_]0;address@hidden:~ $$ 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'
stty -inlcr -echo kill '^U'
$ $ [[Regexp `\(^[^#$%>
]*[#$%>] *\|^[^#$%>
]*[#$%>] *\(_\[[0-9;]*[a-zA-Z] *\)*\)\'' not found in 30 secs]]
After that, I tried a blank .bash_profile, so nothing got loaded. This
presented me with a prompt like this: -bash-2.05b$
Contents of *tramp/plink address@hidden
stty -inlcr -echo kill '^U'
$ $
Contents of *debug /plink address@hidden
# Opening connection for address@hidden 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
-bash-2.05b$
-bash-2.05b$ # Sending command to remote shell: unset correct
$ unset correct
unset correct
-bash-2.05b$
-bash-2.05b$ # Sending command to remote shell: unset autocorrect
$ unset autocorrect
unset autocorrect
-bash-2.05b$
-bash-2.05b$ $ 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'
stty -inlcr -echo kill '^U'
$ $ [[Regexp `\(^[^#$%>
]*[#$%>] *\|^[^#$%>
]*[#$%>] *\(_\[[0-9;]*[a-zA-Z] *\)*\)\'' not found in 30 secs]]
- tramp (2.1.3); cannot open remote files or directories using plink method, Bryson, Stewart, 2005/10/05
- RE: tramp (2.1.3); cannot open remote files or directories using plink method,
Bryson, Stewart <=
- RE: tramp (2.1.3); cannot open remote files or directories using plink method, Bryson, Stewart, 2005/10/05
- RE: tramp (2.1.3); cannot open remote files or directories using plink method, Bryson, Stewart, 2005/10/05
- RE: tramp (2.1.3); cannot open remote files or directories using plink method, Bryson, Stewart, 2005/10/06