Michael Albinus | 1 Dec 2008 05:31
Picon
Picon
Gravatar

Re: tramp (2.1.9); posix id command

Michael Preminger <michaelp <at> bibin.hio.no> writes:

Hi,

> Something with Posix id command ...

I don't see how it is related to "id". But ...

>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at> 
>  <at>     WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!      <at> 
>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at>  <at> 
> IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
> Someone could be eavesdropping on you right now (man-in-the-middle attack)!
> It is also possible that the RSA host key has just been changed.
> The fingerprint for the RSA key sent by the remote host is
> a2:3f:45:8e:f3:da:79:38:6c:2a:5b:2a:6b:fe:6f:e7.
> Please contact your system administrator.
> Add correct host key in /home/michaelp/.ssh/known_hosts to get rid of this message.
> Offending key in /home/michaelp/.ssh/known_hosts:17
> RSA host key for behemoth.p52s.hio.no has changed and you have requested strict checking.
> Host key verification failed.
> exit

... you shall remove the the expired key from /home/michaelp/.ssh/known_hosts
(line 17).

Best regards, Michael.
Michael Albinus | 1 Dec 2008 06:22
Picon
Picon
Gravatar

Re: tramp (2.1.15-pre); fails to open remote file on a Linksys router running OpenWRT Kamikaze 7.09 [Dropbear sshd v0.50, BusyBox v1.4.2].

Gregor Zattler <telegraph <at> gmx.net> writes:

> Dear  Michael,

Hi,

> O.K. I understand this now and also did find the paragraph in the
> manual which says so.  But I do not understand why this optimization
> takes place regardless of its preconditions.  Since there are no
> inline transfer methods to use, they should not be used any way.	
>
> At least to me it seems then the default is the wrong way around: It
> should be set to "0" in order to function under every circumstances
> and the manual should hint for possible optimazions and their
> drawbacks.     

A default value shall serve the majority. It is a rare case, that there
is no encoding routine on the remote host.

>> Additionally, you need to apply the appended patch (there was an
>> error, indeed).
>
> With tramp-copy-size-limit set to "0" and you patch applied it now
> works very well.

The patch is already committed to the repositories. So you shouldn't
have a problem in the future.

I'm thinking of setting tramp-copy-size-limit to 0 automatically, when
there is no remote encoding routine. But this isn't trivial.
(Continue reading)

Mark A. Hershberger | 16 Dec 2008 16:33
Gravatar

tramp (2.1.15-pre); error on vc-bzr when scp not-exists on server


When trying to save a file on a remote host that uses bzr for version
control, and scp is not installed on the remote host, vc-bzr tries to
grab the dirstate file, but fails.  Left in the *Messages* buffer are
these messages:

    Transferring /scp:192.168.12.107:/var/www/rwanda-pilot/.bzr/checkout/dirstate to /tmp/tramp.28181DNK...
    Tramp: Waiting for prompts from remote shell
    Tramp: Process has died.
    File error: Process died
    Error: (file-error Process died)

Note that the main file is properly saved.


Emacs  : GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.9)
 of 2008-12-06 on americium, modified by Debian
Package: tramp (2.1.15-pre)

current state:
==============
(setq
 tramp-current-method "scp"
 tramp-current-user nil
 tramp-current-host "192.168.12.107"
 tramp-auto-save-directory nil
 tramp-default-method "scp"
 tramp-default-method-alist '((nil "%" "smb")
                              ("" "\\`\\(anonymous\\|ftp\\)\\'" "ftp")
                              ("\\`ftp\\." "" "ftp")
(Continue reading)

Michael Albinus | 17 Dec 2008 17:30
Picon
Picon
Gravatar

Re: tramp (2.1.15-pre); error on vc-bzr when scp not-exists on server

mah <at> everybody.org (Mark A. Hershberger) writes:

Hi,

> When trying to save a file on a remote host that uses bzr for version
> control, and scp is not installed on the remote host, vc-bzr tries to
> grab the dirstate file, but fails.

Your remote host returns as `uname -r' "Linux 2.6.18-6-686". I doubt,
that there is no scp installed.

And it isn't a missing remote scp who causes the trouble. In your
traces, I'll see:

> 10:26:59 tramp-do-copy-or-rename-file-out-of-band (6) # scp -p -q
192.168.12.107:/var/www/rwanda-pilot/.bzr/checkout/dirstate /tmp/tramp.28181DNK

> 10:26:59 tramp-process-actions (6) # 
> Connection to 192.168.12.107 closed by remote host.

That means, that the scp command has connected your remote host, but
the remote host was unwilling to speak with you. Maybe you can find
some information about in the remote host's log files. You might run
scp commands as given above in your terminal, plus an additional "-v"
for verbose information.

If you cannot convince scp to cooperate with that remote host, you
could consider ssh as transfer method.

Best regards, Michael.
(Continue reading)

Michael Albinus | 18 Dec 2008 05:49
Picon
Picon
Gravatar

Re: tramp (2.1.15-pre); error on vc-bzr when scp not-exists on server

mah <at> everybody.org (Mark A. Hershberger) writes:

>> Your remote host returns as `uname -r' "Linux 2.6.18-6-686". I doubt,
>> that there is no scp installed.
>
> I can guarentee you there is no scp installed.  I removed it.
>
> The following:
>
>>> 10:26:59 tramp-do-copy-or-rename-file-out-of-band (6) # scp -p -q
192.168.12.107:/var/www/rwanda-pilot/.bzr/checkout/dirstate /tmp/tramp.28181DNK
>>
>>> 10:26:59 tramp-process-actions (6) # 
>>> Connection to 192.168.12.107 closed by remote host.
>
> Is exactly what happens when there is no remote scp.  I'm using dropbear
> on the remote client as the sshd.

OK, I'm convinced :-)

> I'm not naming a transfer method.  I do:
>
>     C-x C-f /192.168.12.107:/var/www/rwandaa-pilot/bin/filename RET
>
> and the filename is loaded properly.  vc-bzr jumps into action and tries
> to read the dirstate file, but fails.
>
> I don't know what is going on in the background, but it looks like tramp
> sees that there is no scp and falls over to something like ssh.  vc-bzr,
> though, seems to still rely on ssh.
(Continue reading)

Rolf Schreiber | 22 Dec 2008 18:21
Picon

tramp (2.0.57); dired and smb: File no longer exists; type `g' to update dired buffer


Enter your bug report in this message, including as much detail as you
possibly can about the problem, what you did to cause it and what the
local and remote machines are.

If you can give a simple set of instructions to make this bug happen
reliably, please include those.  Thank you for helping kill bugs in
TRAMP.

Another useful thing to do is to put (setq tramp-debug-buffer t) in
the ~/.emacs file and to repeat the bug.  Then, include the contents
of the *tramp/foo* buffer and the *debug tramp/foo* buffer in your bug
report.

--bug report follows this line--

I get the dired of a window-server 2003-vmware-session via tramp-smb,
but when I use "f" to open a directory there I get: 

File no longer exists; type `g' to update dired buffer

And when I try to copy a file with "c", I get:
Cannot make local copy of non-existing file `/smb:samba%ARBEITSGRUPPE <at> telefun-demo:/D$/ftmgr.xm'

This was in *Messages*:

tramp: Opening connection for //samba%ARBEITSGRUPPE <at> telefun-demo/D$...
tramp: Started process (smbclient //telefun-demo/D$ -U samba -W ARBEITSGRUPPE)
tramp: Sending password
tramp-smb-handle-file-local-copy: Cannot make local copy of non-existing file `/smb:samba%ARBEITSGRUPPE <at> telefun-demo:/D$/ftmgr.xm'
(Continue reading)


Gmane