"Floeter, Andreas" <[EMAIL PROTECTED]> writes:

> I am puzzled by the fact, that I can login to another machine using tramp
> on NTEmacs as a normal user, but not as 'root' user. Using a cmd.exe, I can
> login either with the normal 'username' or 'root' with 
>
> plink -ssh [EMAIL PROTECTED]
>
> or 
>
> plink [EMAIL PROTECTED], etc.
>
>
> In the "*tramp/nil [EMAIL PROTECTED]" I get
>
> (t 38 3001 3001 (15963 39257) (15912 1947) (15912 1947) 1536 16877 t (0 .
> 2) -1)
>
>
> In the "*tramp/nil [EMAIL PROTECTED]" buffer I find
>
> Using username "root".
> Server refused our key
> Access denied
> Server refused our key
> FATAL ERROR: Server sent disconnect message
> type 2 (SSH_DISCONNECT_PROTOCOL_ERROR):
> "Too many authentication failures for root"

This is puzzling indeed.  The error messages clearly indicate that
there is an authentication problem, but I'm surprised it doesn't
happen from the command line.

Can you position the cursor somewhere inside the function and then do
M-x edebug-defun RET, then try to open another connection?  Then you
can single-step through the function using SPC to see what's
happening.  I suggest that you open another frame with the *tramp/nil
[EMAIL PROTECTED] buffer so that you can see what's happening inside that
buffer as you're stepping through the function.

An interesting thing would be which command exactly is executed by
Tramp -- start-process is the function of interest, here.  Maybe the
problem lies there, and changing the command that's executed by Tramp
helps.

Another possibility is that terminal or environment settings foil
Tramp's attempts.
-- 
A preposition is not a good thing to end a sentence with.


_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.nongnu.org/mailman/listinfo/tramp-devel

Reply via email to