unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Bad Blue Bull <ibmbull@yandex.ru>
Cc: 50399@debbugs.gnu.org
Subject: bug#50399: TRAMP can't connect to Win 2000 (smb, ftp, telnet)
Date: Sun, 05 Sep 2021 19:46:57 +0200	[thread overview]
Message-ID: <87pmtm52zy.fsf@gmx.de> (raw)
In-Reply-To: <694581630832756@mail.yandex.ru> (Bad Blue Bull's message of "Sun, 05 Sep 2021 12:43:40 +0300")

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	other threads:[~2021-09-05 17:46 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-05  9:43 bug#50399: TRAMP can't connect to Win 2000 (smb, ftp, telnet) Bad Blue Bull
2021-09-05 17:46 ` Michael Albinus [this message]
     [not found]   ` <1053251630945528@mail.yandex.ru>
     [not found]     ` <87lf49ehaa.fsf@gmx.de>
     [not found]       ` <1059951630951424@mail.yandex.ru>
2021-09-06 19:16         ` Michael Albinus
     [not found]           ` <1058271630967079@mail.yandex.ru>
2021-09-07 11:48             ` Michael Albinus
2021-09-07 20:44               ` Bad Blue Bull
2021-09-08  7:13                 ` Michael Albinus
2021-09-08 10:13                   ` Bad Blue Bull
2021-09-08 14:35                     ` Michael Albinus
2021-09-10  8:32                       ` Bad Blue Bull
2021-09-11 13:50                         ` Michael Albinus
2021-09-11 22:52                           ` Bad Blue Bull
2021-09-11 23:34                             ` Bad Blue Bull
2021-09-12 15:44                               ` Michael Albinus
     [not found]                                 ` <261061631470250@mail.yandex.ru>
2021-09-13  7:38                                   ` Michael Albinus
2021-09-13 15:58                                     ` Bad Blue Bull
2021-09-14  7:13                                       ` Michael Albinus
2021-09-14 12:55                                         ` Bad Blue Bull
2021-09-14 17:59                                           ` Michael Albinus
2021-09-14 18:18                                             ` Bad Blue Bull
2021-09-14 18:24                                               ` Michael Albinus
2021-09-14 22:45                                                 ` Bad Blue Bull
2021-09-15  6:55                                                   ` Michael Albinus
2021-09-15 13:42                                                     ` Bad Blue Bull
2021-09-15 14:42                                                       ` Michael Albinus
2021-09-15 16:09                                                         ` Bad Blue Bull
2021-09-15 16:18                                                           ` Michael Albinus
2021-09-15 16:28                                                             ` Bad Blue Bull
2021-09-15 16:34                                                               ` Michael Albinus
     [not found]                                                                 ` <243411631724679@mail.yandex.ru>
2021-09-15 17:35                                                                   ` Michael Albinus
2021-09-15 18:30                                                                     ` Bad Blue Bull
2021-09-15 18:56                                                                       ` Michael Albinus
2021-09-15 19:26                                                                         ` Bad Blue Bull
2021-09-15 19:46                                                                           ` Bad Blue Bull
2021-09-16 15:28                                                                             ` Michael Albinus
2021-09-16 15:30                                                                               ` Michael Albinus
2021-09-16 16:24                                                                                 ` Bad Blue Bull
2021-09-16 16:33                                                                               ` Bad Blue Bull
2021-09-16 16:35                                                                                 ` Bad Blue Bull
2021-09-16 17:33                                                                                 ` Michael Albinus
     [not found]                                                                                   ` <26141631830717@mail.yandex.ru>
2021-09-16 22:47                                                                                     ` Bad Blue Bull
2021-09-17  5:36                                                                                     ` Michael Albinus
2021-09-17 16:02                                                                                       ` Bad Blue Bull
2021-09-17 16:55                                                                                         ` Michael Albinus
2021-09-17 18:12                                                                                           ` Bad Blue Bull
2021-09-17 18:19                                                                                             ` Michael Albinus
2021-09-17 18:49                                                                                               ` Bad Blue Bull
2021-09-17 18:54                                                                                                 ` Bad Blue Bull
2021-09-18  7:54                                                                                                   ` Michael Albinus
2021-09-18  8:01                                                                                                 ` Michael Albinus
2021-09-18  9:10                                                                                                   ` Bad Blue Bull
2021-09-18 11:09                                                                                                     ` Michael Albinus
2021-09-18 15:27                                                                                                       ` Bad Blue Bull
2021-09-18 17:02                                                                                                         ` Michael Albinus
2021-09-17 19:03                                                                                               ` Bad Blue Bull
2021-09-18  7:57                                                                                                 ` Michael Albinus
2021-09-19 18:36                                                                                                   ` Michael Albinus
2021-10-18  8:27                                                                                                     ` Lars Ingebrigtsen
2021-09-16 15:37                                                                           ` Michael Albinus
2021-09-15 13:44                                                     ` Bad Blue Bull
2021-09-12 15:37                             ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pmtm52zy.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=50399@debbugs.gnu.org \
    --cc=ibmbull@yandex.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).