Mojave (I think it was) got a bunch of the ancient insecure (not encrypted) 
command line tools, including telnet and ftp (you can still do ftp via Finder).

The BSD r-commands also went away (earlier than Mojave, I think).

The following provides the GNU versions of those, not necessarily identical to 
the former macOS versions; all the commands have a "g" prefix
to make that clear.  Unfortunately, I don't see symlinks for them without the 
"g" prefix in /opt/local/libexec/gnubin. This only provides the
client commands, not the corresponding server daemons, although for at least an 
ftpd, there are multiple ports available.  For the rest, you're
arguably better off without them, but if you don't believe that, you may be 
able to find them in an older version of the macOS source;
for example, except for ftpd, in 
https://opensource.apple.com/source/remote_cmds/remote_cmds-54.50.1/ 
<https://opensource.apple.com/source/remote_cmds/remote_cmds-54.50.1/> with 
ftpd in
https://opensource.apple.com/source/lukemftpd/lukemftpd-51/ 
<https://opensource.apple.com/source/lukemftpd/lukemftpd-51/> Not everything 
there will work; in particular, I would not expect the yp*
commands to be useful, since that doesn't include whatever does the lookups.

sh-3.2$ port contents inetutils
Port inetutils contains:
  /opt/local/bin/gdnsdomainname
  /opt/local/bin/gftp
  /opt/local/bin/ghostname
  /opt/local/bin/gifconfig
  /opt/local/bin/glogger
  /opt/local/bin/gping
  /opt/local/bin/gping6
  /opt/local/bin/grcp
  /opt/local/bin/grexec
  /opt/local/bin/grlogin
  /opt/local/bin/grsh
  /opt/local/bin/gtalk
  /opt/local/bin/gtelnet
  /opt/local/bin/gtftp
  /opt/local/bin/gtraceroute
  /opt/local/bin/gwhois
  /opt/local/share/info/inetutils.info
  /opt/local/share/man/man1/gdnsdomainname.1.gz
  /opt/local/share/man/man1/gftp.1.gz
  /opt/local/share/man/man1/ghostname.1.gz
  /opt/local/share/man/man1/gifconfig.1.gz
  /opt/local/share/man/man1/glogger.1.gz
  /opt/local/share/man/man1/gping.1.gz
  /opt/local/share/man/man1/gping6.1.gz
  /opt/local/share/man/man1/grcp.1.gz
  /opt/local/share/man/man1/grexec.1.gz
  /opt/local/share/man/man1/grlogin.1.gz
  /opt/local/share/man/man1/grsh.1.gz
  /opt/local/share/man/man1/gtalk.1.gz
  /opt/local/share/man/man1/gtelnet.1.gz
  /opt/local/share/man/man1/gtftp.1.gz
  /opt/local/share/man/man1/gtraceroute.1.gz
  /opt/local/share/man/man1/gwhois.1.gz

If there's any way you can make it happen, IMO it's much better to get sshd 
(with sftp support) put on the other end that you want to communicate
with, rather than using the old and insecure protocols; not the least is that 
the maintenance state of older protocol implementations may not be
all that great, whether you use MacPorts or build them yourself; no guarantee 
that you'll keep up with vulnerability fixes, etc.


> On Jul 5, 2019, at 04:56, Christoph Kukulies <[email protected]> wrote:
> 
> I’m surprised there is no telnet under standard macOS. Is there a macport? 
> and if, what’s the package name?
> 
> Thank you
> 
> —
> Christoph
> 
> 

  • telnet Christoph Kukulies
    • Re: ... Dr M J Carter
      • ... Christoph Kukulies
      • ... Niels Dettenbach (Syndicat IT & Internet) via macports-users
    • Re: ... Richard L. Hamilton
      • ... Richard L. Hamilton
        • ... Balthasar Indermuehle
          • ... Richard L. Hamilton
          • ... Bill Cole
    • Re: ... Marius Schamschula

Reply via email to