6 Replies
      Latest reply on Jan 27, 2018 8:32 AM by Martin CR
      amptec Level 1 Level 1 (0 points)

        Hi folks,



        I looked at the solution proposed by @John Daniel - https://forums.developer.apple.com/message/235897#235897, and found that the inetutils gnu package contains many client and server applications. I have even noticed that many are already installed in the High Sierra. As I ldn't like to overwrite applications that are already come in OS X, I selected what to install, in my case, ftp and telnet clients. Here is a step-by-step guide:



        1 - It is required that you have XCODE installed and configured to be able to compile the packages. Access the terminal / shell



        2 - Download the latest version of the inetutils package, in my case inetutils-1.9.4, at:






        3 - Unpack with:



          tar xvjf inetutils-1.9.4.tar.gz



        4 - Enter the inetutils-1.9.4 folder with:



          cd inetutils-1.9.4

        5 - Configure the package with the following:



        ./configure --disable-servers --disable-dnsdomainname --disable-hostname --disable-ping --disable-ping6 --disable-rcp --disable-rexec --disable-rlogin --disable-rsh --disable-logger --disable-talk --disable-tftp --disable-whois --disable-ifconfig --disable-traceroute



        6 - To compile execute:






        7 - For the installation I ddin't use make install, I preferred to copy only the necessary files to /usr/local/bin/ , as below:



        sudo cp telnet/telnet /usr/local/bin/

        sudo cp ftp/ftp /usr/local/bin/



        8 - Now just test and use and be happy.

        • Re: Mac OS X High Sierra telnet / ftp solution
          OtavioMendonca Level 1 Level 1 (0 points)

          Thanks amptec!!


          Worked fine and it was easy to setup.





          • Re: Mac OS X High Sierra telnet / ftp solution
            syakir Level 1 Level 1 (0 points)

            I always install ports with all my Macs. Installing inetutils via ports is a breeze.


            # sudo port install inetutils
            --->  Computing dependencies for inetutils
            --->  Fetching archive for inetutils
            --->  Attempting to fetch inetutils-1.9.4_3.darwin_17.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/inetutils
            --->  Attempting to fetch inetutils-1.9.4_3.darwin_17.x86_64.tbz2.rmd160 from http://jog.id.packages.macports.org/macports/packages/inetutils
            --->  Installing inetutils @1.9.4_3
            --->  Activating inetutils @1.9.4_3
            --->  Cleaning inetutils
            --->  Updating database of binaries
            --->  Scanning binaries for linking errors
            --->  No broken files found.
            # telnet
            telnet> ^C


            To install ports, you may follow this link


            • Re: Mac OS X High Sierra telnet / ftp solution
              gpayne Level 1 Level 1 (0 points)

              I chose to make. Where do i go to test the FTP... having major issues here.

              • Re: Mac OS X High Sierra telnet / ftp solution
                EricMiller Level 1 Level 1 (0 points)

                Thank you very much for these instructions.  All works well until I get to the last step where I receive the following error "cp: directory /usr/local/bin does not exist".  Thank you in advance for any help.

                  • Re: Mac OS X High Sierra telnet / ftp solution
                    amptec Level 1 Level 1 (0 points)

                    Dear Eric Miller,

                    Please check if there is a folder for installation on your Mac with the following command:

                    ls -alsh /usr/local/

                    You should get some lines as a response, one of which will be similar to the following:

                    0 drwxr-xr-x 14 root wheel 448B Dec 23 00:31 bin

                    Also verify that if this folder is in the search path, with the following command:

                    echo $PATH

                    You should get the following answer:


                    As you can see this is the first folder in the list of folders to search.

                    Remember that the cp command must be run with sudo before the cp command, because admin / root permission is required to work. As you can see below:


                    sudo cp telnet/telnet /usr/local/bin/

                    sudo cp ftp/ftp /usr/local/bin/


                    If you don't have the folder and it doesn't appear in the search list, choose the first folder that appears in the list of folders to search, as the destination folder.


                    I believe this should solve your problem, but if the problem persists, redo all the steps from the begin, as it is a step-by-step procedure that should work on almost 100% of Mac OS X High Sierra.


                    Any problem is at my disposal.


                    Adriano Pereira

                  • Re: Mac OS X High Sierra telnet / ftp solution
                    Martin CR Level 1 Level 1 (0 points)

                    Awesome. Kudos to you.


                    Hey Mr Apple since when developers stop needing canonical command line tools? What's next for the chop... vi?