tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp from cvs: scp problem from cygwin to linux


From: emacs user
Subject: Re: tramp from cvs: scp problem from cygwin to linux
Date: Tue, 07 Mar 2006 07:08:44 -0500




From: Michael Albinus <address@hidden>
To: "emacs user" <address@hidden>
CC: address@hidden
Subject: Re: tramp from cvs: scp problem from cygwin to linux
Date: Tue, 07 Mar 2006 06:36:21 +0100

"emacs user" <address@hidden> writes:

Hi,

>> > so I use scp from cygwin to open my remote linux home directory, and
>> > then press "C" to copy a file.  this fails, and I am attaching the
>> > various debug buffers etc.  Please let me know if there is anything I
>> > can do to help with this.
>>
>> > --------------------------------
>> > Process *tramp/scp address@hidden<2> exited abnormally with code 2
>> >
>> > --------------------------------
>>
>>scp is not very talkative. Let's get it.
>>
>>First of all, please try from a Windows CMD window:
>>
>>   scp -p address@hidden:/home/me/.dvipsrc /home/me/.dvipsrc
>>
>>Second, apply the appended patch to tramp.el in order to see more
>>messages.
>>
>>Best regards, Michael.
>
> very good, here are the various buffers, includeing *Messages*:

[...]

> Tramp: Call `tramp-action-out-of-band'
> Tramp: Process has died.
> Tramp:
>
> tramp-get-connection-property:
> Error: File error: Login failed
> Copy [-p] failed for 1 of 1 file--type ? for details ((.dvipsrc))
> d-elete, u-ndelete, x-punge, f-ind, o-ther window, R-ename, C-opy, h-elp
> Commands: d, s, x, u; f, o, 1, 2, m, v; ~, %; q to quit; ? for help.
> call-interactively: Beginning of buffer
> ----------------------
>
> 15:54:00 tramp-do-copy-or-rename-file-out-of-band (5) # Sending
> command `scp -p -v address@hidden:/home/me/.dvipsrc
> /home/me/.dvipsrc'

> ----------------------
>
>
> Process *tramp/scp address@hidden<2> exited abnormally with code 2
>
>
> ----------------------

Although called with "-v", there is still no output. Strange.

Could you, please, open a shell buffer with "M-x shell", and run there

  scp -p -v address@hidden:/home/me/.dvipsrc /home/me/.dvipsrc

Best regards, Michael.

here it is...  thanks, Eli

address@hidden:~ $ scp -p -v address@hidden:/home/me/.dvipsrc /home/me/.dvipsrc
Executing: program /usr/bin/ssh host computer, user me, command scp -v -p -f /home/me/.dvipsrc
OpenSSH_4.2p1, OpenSSL 0.9.8a 11 Oct 2005
debug1: Connecting to computer [xx.xx.xx.xx] port 22.
debug1: Connection established.
debug1: identity file /home/me/.ssh/identity type -1
debug1: identity file /home/me/.ssh/id_rsa type -1
debug1: identity file /home/me/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.9p1
debug1: match: OpenSSH_3.9p1 pat OpenSSH_3.*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.2
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'computer' is known and matches the RSA host key.
debug1: Found key in /home/me/.ssh/known_hosts:3
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/me/.ssh/identity
debug1: Trying private key: /home/me/.ssh/id_rsa
debug1: Trying private key: /home/me/.ssh/id_dsa
debug1: Next authentication method: password
address@hidden's password: XXX

debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending command: scp -v -p -f /home/me/.dvipsrc
Sink: T992154999 0 1141732791 0
Sending file modes: C0600 30 .dvipsrc
Sink: C0600 30 .dvipsrc
.dvipsrc                                      100%   30     0.0KB/s   00:00
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.5 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 0

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/





reply via email to

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