Hi Michael,

Thanks very much for your help. An ssh to [email protected] from a shell works fine. Here is the result of the debug buffer:


;; GNU Emacs: 23.3.1 Tramp: 2.1.20 -*- mode: outline; -*-
21:11:36.116067 tramp-maybe-open-connection (3) # Opening connection for [email protected] using scp...
21:11:36.119587 tramp-maybe-open-connection (6) # /bin/sh
21:11:36.221304 tramp-wait-for-regexp (6) #
#$
21:11:36.222482 tramp-maybe-open-connection (3) # Sending command `exec ssh -l smalik -e none cmslpc-sl5.fnal.gov' 21:11:36.222645 tramp-send-command (6) # exec ssh -l smalik -e none cmslpc-sl5.fnal.gov 21:11:36.245568 tramp-process-actions (3) # Waiting for prompts from remote shell 21:11:36.747637 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell 21:11:36.748169 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:
;
21:11:36.748341 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
21:11:36.748575 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
21:11:36.748717 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|
\)[^#$%>
]*#?[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
21:11:36.748881 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell 21:11:36.749008 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell 21:11:36.749135 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell 21:11:36.749265 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell 21:11:36.749389 tramp-process-one-action (5) # Call `tramp-action-process-alive'
21:11:36.749525 tramp-process-actions (6) #
Permission denied (gssapi-keyex,gssapi-with-mic,keyboard-interactive).
Process *tramp/scp [email protected]* exited abnormally with code 255
21:12:07.428700 tramp-process-actions (1) # File error: Process died
21:12:13.823597 tramp-process-actions (3) # Opening connection for [email protected] using scp...done

On 9/7/11 2:17 AM, Michael Albinus wrote:
Sarah Alam Malik<[email protected]>  writes:

Hi,
Hi Sarah,

I get the following error when trying to use tramp to edit a file on a
remote machine:

Permission denied (gssapi-keyex, gssapi-with-mic, keyboard-interactive)
Process *tramp/scp [email protected]* exited abnormally with
code 255

Any help would be greatly appreciated.
Looks like a password issue. Have you tried from a shell that you are
able to connect [email protected] via ssh?

If it works from a shell, please set tramp-verbose to 6, and rerun your
test. Afterwards, you could show us the resulting debug buffer. Tramp is
very careful not to insert passwords there, but you might cross-check
before sending.

Thanks
Sarah
Best regards, Michael.


--
Sarah Alam Malik
Postdoctoral Associate
The Rockefeller University
http://www.sarahalammalik.com


_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to