bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#50399: TRAMP can't connect to Win 2000 (smb, ftp, telnet)


From: Michael Albinus
Subject: bug#50399: TRAMP can't connect to Win 2000 (smb, ftp, telnet)
Date: Sun, 05 Sep 2021 19:46:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Bad Blue Bull <ibmbull@yandex.ru> writes:

Hi,

> I have troubles connecting to Win2K remotehost with TRAMP:

Which Emacs/Tramp versions are you using?

> Samba:
> I can connect from console with smbclient:
>  
>    smbclient -L win2k -U nicolas
>    smbclient //WIN2K/c$ -U Nicolas
>  
> but I can't with tramp (using "c-x c-f /ssh:nicolas@win2k:"):
>    protocol negotiation failed: NT_STATUS_IO_TIMEOUT

This isn't samba but ssh. You must use "/smb:nicolas@win2k:/SHARE", with
SHARE being a share name on your machine, for example "c$".

> FTP:
> I can connect with ftp, but when I try "c-x c-f
> /ftp:Anonymous@192.168.0.141:" I get this:
>    File is missing: Opening directory No such file or directory
> /ftp:Anonymous@192.168.0.141:/ [4 times]
>    tramp-signal-hook-function: Opening directory No such file or
> directory /ftp:Anonymous@192.168.0.141:/
> meanwhile there's opened FTP session in *ftp Anonymous@192.168.0.141*
> buffer, and I can use ftp commands there.
> I can connect that way successfully to NetBSD remote host with bftpd
> running on it.

I would like to see the complete ange-ftp buffer.

> Telnet:
> I can connect using telnet from console or using PuTTY, but TRAMP just
> hangs with
>
>     Tramp: Opening connection for nicolas@192.168.0.141 using
>     telnet...
>     Tramp: Sending command ‘exec telnet 192.168.0.141  2>/dev/null’
>     Tramp: Waiting for prompts from remote shell...
>     Tramp: Sending login name ‘nicolas’
>     File error: Timeout reached, see buffer ‘*tramp/telnet
>     nicolas@192.168.0.141*’ for details
>     Tramp: Waiting for prompts from remote shell...failed
>     Tramp: Opening connection for nicolas@192.168.0.141 using
>     telnet...failed
>     Cleaning up the recentf list...done (0 removed)
>     Tramp: Opening connection for nicolas@192.168.0.141 using
>     telnet...
>     Tramp: Sending command ‘exec telnet 192.168.0.141  2>/dev/null’
>     Tramp: Waiting for prompts from remote shell...
>     Tramp: Sending login name ‘nicolas’
>     File error: Timeout reached, see buffer ‘*tramp/telnet
>     nicolas@192.168.0.141*’ for details
>     Tramp: Waiting for prompts from remote shell...failed
>     Tramp: Opening connection for nicolas@192.168.0.141 using
>     telnet...failed
>     Cleaning up the recentf list...done (0 removed)
>     tramp-signal-hook-function: Timeout reached, see buffer
>     ‘*tramp/telnet nicolas@192.168.0.141*’ for details
>
> the buffer has Process "*tramp/smb nicolas@win2k* exited abnormally
> with code 1"

This cannot be the telnet buffer, it must be something like
"*tramp/telnet ...".

Best regards, Michael.





reply via email to

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