tramp-devel
[Top][All Lists]
Advanced

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

Re: Login with normal user works, but not with root


From: Kai Großjohann
Subject: Re: Login with normal user works, but not with root
Date: Fri, 28 Feb 2003 20:03:11 +0100
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 (i686-pc-linux-gnu)

"Floeter, Andreas" <address@hidden> 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 address@hidden
>
> or 
>
> plink address@hidden, etc.
>
>
> In the "*tramp/nil address@hidden" I get
>
> (t 38 3001 3001 (15963 39257) (15912 1947) (15912 1947) 1536 16877 t (0 .
> 2) -1)
>
>
> In the "*tramp/nil address@hidden" 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
address@hidden 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.




reply via email to

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