Telnet gone

Discussion in 'macOS High Sierra (10.13)' started by Foss, Sep 15, 2017.

  1. Foss macrumors 6502

    Foss

    Joined:
    Sep 11, 2008
    #1
    So I just found out telnet does not work from terminal anymore. I have some devices that is not ssh friendly. Anyone have a solution?
     
  2. mrapplegate macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #2
    Do you have a clone of the previous OS? Copy it back to /usr/bin, otherwise it’s gone as you noticed. There was an old thread in this forum about it.
     
  3. Foss thread starter macrumors 6502

    Foss

    Joined:
    Sep 11, 2008
    #3
    I have a Time Machine back up of Sierra, will try to copy it.
     
  4. chabig macrumors 603

    Joined:
    Sep 6, 2002
    #4
    Use a telnet app.
     
  5. Lazeran macrumors newbie

    Lazeran

    Joined:
    Jun 8, 2015
    #5
  6. RabidMacFan macrumors regular

    Joined:
    Jun 19, 2012
    Location:
    California
    #6
    For telnet, you can probably just use nc (netcat) instead.
    Code:
    nc <hostname> <port>
     
  7. neliason macrumors 6502

    Joined:
    Oct 1, 2015
    #7
    Homebrew is one option. Personally I use MacPorts: https://www.macports.org/

    Yeah, I used telnet just the other day trying to figure out why I couldn’t connect to a MySQL DB. I could use netcat. Telnet is just an old habit.
     
  8. SoyCapitanSoyCapitan

    Joined:
    Jul 4, 2015
    Location:
    Paris
    #8
    Confirmed. Star Wars no longer plays

    telnet towel.blinkenlights.nl
     
  9. RabidMacFan macrumors regular

    Joined:
    Jun 19, 2012
    Location:
    California
    #9
    try this:
    Code:
    nc towel.blinkenlights.nl 23
     
  10. zorinlynx macrumors 603

    zorinlynx

    Joined:
    May 31, 2007
    Location:
    Florida, USA
    #10
    This is annoying; telnet is still used by system administrators quite a bit.

    Is Apple losing touch? Certainly feels like it lately.
     
  11. neliason macrumors 6502

    Joined:
    Oct 1, 2015
    #11
    Well besides dropping programs bash, rysnc and others are just ancient. I understand Apple's rationale for not updating them. But at this point it is getting pretty ridiculous how out of date things are. Part of the attraction of a Mac for me was being *nix system. But if the tools are older than Windows Vista that is pretty sad.
     
  12. zorinlynx macrumors 603

    zorinlynx

    Joined:
    May 31, 2007
    Location:
    Florida, USA
    #12
    It doesn't matter how ancient telnet is; it hasn't changed in 20 years. It just makes a TCP connection to a port on a remote host.

    Some software is incredibly mature and does not need to be updated. It does the job perfectly and doesn't need additional features.

    As for rsync, it's still very much being maintained, and is still incredibly useful with functionality being added for greater performance and reliability. We use it at our site for remote backups. It's Apple's fault that they're still using such an old version.
     
  13. neliason macrumors 6502

    Joined:
    Oct 1, 2015
    #13
    I agree that some old programs can do the job fine without being updated. However there can be security updates and improvements. Bash and rsync are ancient and lacking in features. I shouldn't have to install a package manager to get a version made in the last decade. I'd have no problem with Apple taking a conservative route in favor of stability, like some Linux distros. But this isn't why these are out of date.
     
  14. RabidMacFan macrumors regular

    Joined:
    Jun 19, 2012
    Location:
    California
    #14
    If you're a system administrator and your corporate network uses Telnet, you now have one more excuse to tell the executives on why they should disable telnet and upgrade to SSH.

    And if you're a system administrator and you can't find an easy workaround to this problem, well, you are not a very good system administrator.
     
  15. zorinlynx macrumors 603

    zorinlynx

    Joined:
    May 31, 2007
    Location:
    Florida, USA
    #15
    There are plenty of network devices (switches, printers, IP cameras, and other gear) that still use telnet for configuration. Educate thyself before you make assumptions about why system administrators need telnet.

    And yes, we can SSH to some Linux system on the network and telnet from there. But it's silly to remove something so tiny from the OS that is still used regularly across the industry.
     
  16. neliason macrumors 6502

    Joined:
    Oct 1, 2015
    #16
    It would be nice to get rid of telnet, but not every computer is a modern one. There are no doubt lots of systems which use a 3270 terminal still in use.
     
  17. RabidMacFan macrumors regular

    Joined:
    Jun 19, 2012
    Location:
    California
    #17
    Like I said in post #7, you can use netcat instead of the telnet client. Telnet is an old, outdated, deprecated protocol that passes the entire communication (including credentials) in plaintext. You should not be using it. But if you have to, you can install it separately or just use netcat.

    Removing telnet from a popular client operating system will hopefully discourage vendors from using the protocol, and encourage them to use more secure ones.
     
  18. jjrodriguez macrumors newbie

    jjrodriguez

    Joined:
    Sep 26, 2017
    #18
    Hi,

    This is how I managed to install telnet on High Sierra, just copy and paste the following commands into your terminal.

    Install Homebrew:
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    Install Telnet:
    brew tap theeternalsw0rd/telnet
    brew install telnet

    Homebrew official page: https://brew.sh/

    Tnx!
     
  19. Tomkins! macrumors regular

    Joined:
    Jul 17, 2012
    #19
    I installed the Xcode developer tools (xcode-select --install).
    Then I used homebrew to add telnet (brew install telnet).
     
  20. shaun.au macrumors newbie

    shaun.au

    Joined:
    Mar 3, 2009
    Location:
    Sydney, Aus
    #20
    Thanks Tomkins, just need to combine the extra step from above:

    xcode-select --install
    brew tap theeternalsw0rd/telnet
    brew install telnet
     

Share This Page

19 September 15, 2017