Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > uk.comp.sys.mac > #119721 > unrolled thread

High Sierra - telnet gone?

Started byIan McCall <ian@eruvia.org>
First post2017-10-04 00:29 +0100
Last post2017-10-08 06:53 +0100
Articles 15 on this page of 35 — 12 participants

Back to article view | Back to uk.comp.sys.mac


Contents

  High Sierra - telnet gone? Ian McCall <ian@eruvia.org> - 2017-10-04 00:29 +0100
    Re: High Sierra - telnet gone? dempson@actrix.gen.nz (David Empson) - 2017-10-04 13:26 +1300
      Re: High Sierra - telnet gone? italiancar@gmail.com (Steve H) - 2017-10-04 07:49 +0100
        Re: High Sierra - telnet gone? Ian McCall <ian@eruvia.org> - 2017-10-04 09:27 +0100
          Re: High Sierra - telnet gone? Huge <Huge@nowhere.much.invalid> - 2017-10-04 08:48 +0000
          Re: High Sierra - telnet gone? Paul Sture <nospam@sture.ch> - 2017-10-04 13:13 +0200
        Re: High Sierra - telnet gone? Paul Sture <nospam@sture.ch> - 2017-10-04 13:09 +0200
        Re: High Sierra - telnet gone? nospam <nospam@nospam.invalid> - 2017-10-04 10:20 -0400
          Re: High Sierra - telnet gone? Paul Sture <nospam@sture.ch> - 2017-10-04 16:59 +0200
            Re: High Sierra - telnet gone? Huge <Huge@nowhere.much.invalid> - 2017-10-04 15:20 +0000
              Re: High Sierra - telnet gone? Ian McCall <ian@eruvia.org> - 2017-10-04 21:19 +0100
                Re: High Sierra - telnet gone? Jaimie Vandenbergh <jaimie@sometimes.sessile.org> - 2017-10-04 21:25 +0100
                Re: High Sierra - telnet gone? nospam <nospam@nospam.invalid> - 2017-10-04 16:32 -0400
                Re: High Sierra - telnet gone? Huge <Huge@nowhere.much.invalid> - 2017-10-04 21:07 +0000
                  Re: High Sierra - telnet gone? Ian McCall <ian@eruvia.org> - 2017-10-05 10:08 +0100
                    Re: High Sierra - telnet gone? richard@cogsci.ed.ac.uk (Richard Tobin) - 2017-10-05 09:17 +0000
                      Re: High Sierra - telnet gone? real-not-anti-spam-address@apple-juice.co.uk (D.M. Procida) - 2017-10-06 15:50 +0100
                    Re: High Sierra - telnet gone? Huge <Huge@nowhere.much.invalid> - 2017-10-05 09:27 +0000
                      Re: High Sierra - telnet gone? Ian McCall <ian@eruvia.org> - 2017-10-05 11:52 +0100
                        Re: High Sierra - telnet gone? Huge <Huge@nowhere.much.invalid> - 2017-10-05 11:04 +0000
                          Re: High Sierra - telnet gone? Ian McCall <ian@eruvia.org> - 2017-10-05 12:38 +0100
                            Re: High Sierra - telnet gone? Ian McCall <ian@eruvia.org> - 2017-10-05 12:42 +0100
                            Re: High Sierra - telnet gone? Huge <Huge@nowhere.much.invalid> - 2017-10-05 11:44 +0000
                        Re: High Sierra - telnet gone? Paul Sture <nospam@sture.ch> - 2017-10-05 13:29 +0200
                    Re: High Sierra - telnet gone? Paul Sture <nospam@sture.ch> - 2017-10-05 12:41 +0200
            Re: High Sierra - telnet gone? nospam <nospam@nospam.invalid> - 2017-10-04 11:35 -0400
            Re: High Sierra - telnet gone? Jaimie Vandenbergh <jaimie@sometimes.sessile.org> - 2017-10-04 17:55 +0100
              Re: High Sierra - telnet gone? Paul Sture <nospam@sture.ch> - 2017-10-05 02:14 +0200
            Re: High Sierra - telnet gone? Chris Ridd <chrisridd@mac.com> - 2017-10-04 19:13 +0100
          Re: High Sierra - telnet gone? stk.usenet@haller-berlin.de (Stefan Haller) - 2017-10-05 09:10 +0200
            Re: High Sierra - telnet gone? Huge <Huge@nowhere.much.invalid> - 2017-10-05 08:53 +0000
            Re: High Sierra - telnet gone? nospam <nospam@nospam.invalid> - 2017-10-05 09:49 -0400
            Re: High Sierra - telnet gone? italiancar@gmail.com (Steve H) - 2017-10-07 15:06 +0100
              Re: High Sierra - telnet gone? Huge <Huge@nowhere.much.invalid> - 2017-10-07 15:55 +0000
              Re: High Sierra - telnet gone? Ray <buggeroff@outlook.corn> - 2017-10-08 06:53 +0100

Page 2 of 2 — ← Prev page 1 [2]


#119760

FromIan McCall <ian@eruvia.org>
Date2017-10-05 12:38 +0100
Message-ID<f3mju0Fp8j5U1@mid.individual.net>
In reply to#119758
On 2017-10-05 11:04:34 +0000, Huge <Huge@nowhere.much.invalid> said:

> On 2017-10-05, Ian McCall <ian@eruvia.org> wrote:
>> On 2017-10-05 09:27:39 +0000, Huge <Huge@nowhere.much.invalid> said:
>> 
>>> ...And the answer is apparently so;
>>> 
>>> http://www.binarytides.com/netcat-tutorial-for-beginners/
>> 
>> Hmm - doesn't seem so from that page unless I'm being dumb. The page
>> refers to telnet all the way through, in order to test the
>> netcat-provided socket.
> 
> Err, no. The very first example is fetching the index page from Google
> using netcat as a replacement for telnet; exactly what you wanted.

So it does - it was me just being dumb. nc -v then. OK - thanks.

Odd then that the rest of the page does keep saying to telnet to test 
out socket servers being launched from netcat. But whatever works - nc 
-v is fine if it will allow me to interactively type commands into 
second servers.


Cheers,
Ian

-- 
Check out Proto the album: <http://studioicm.com/proto/>

[toc] | [prev] | [next] | [standalone]


#119761

FromIan McCall <ian@eruvia.org>
Date2017-10-05 12:42 +0100
Message-ID<f3mk4uFp9u1U1@mid.individual.net>
In reply to#119760
On 2017-10-05 11:38:40 +0000, Ian McCall <ian@eruvia.org> said:

> into second servers

-socket- servers. Autocorrect I presume.


Cheers,
Ian


-- 
Check out Proto the album: <http://studioicm.com/proto/>

[toc] | [prev] | [next] | [standalone]


#119762

FromHuge <Huge@nowhere.much.invalid>
Date2017-10-05 11:44 +0000
Message-ID<f3mk88FnblmU14@mid.individual.net>
In reply to#119760
On 2017-10-05, Ian McCall <ian@eruvia.org> wrote:
> On 2017-10-05 11:04:34 +0000, Huge <Huge@nowhere.much.invalid> said:
>
>> On 2017-10-05, Ian McCall <ian@eruvia.org> wrote:
>>> On 2017-10-05 09:27:39 +0000, Huge <Huge@nowhere.much.invalid> said:
>>> 
>>>> ...And the answer is apparently so;
>>>> 
>>>> http://www.binarytides.com/netcat-tutorial-for-beginners/
>>> 
>>> Hmm - doesn't seem so from that page unless I'm being dumb. The page
>>> refers to telnet all the way through, in order to test the
>>> netcat-provided socket.
>> 
>> Err, no. The very first example is fetching the index page from Google
>> using netcat as a replacement for telnet; exactly what you wanted.
>
> So it does - it was me just being dumb. nc -v then. OK - thanks.

No problem.


-- 
Today is Pungenday, the 59th day of Bureaucracy in the YOLD 3183
                  I don't have an attitude problem.
    If you have a problem with my attitude, that's your problem.

[toc] | [prev] | [next] | [standalone]


#119759

FromPaul Sture <nospam@sture.ch>
Date2017-10-05 13:29 +0200
Message-ID<qlhhae-qv92.ln1@news2.chingola.ch>
In reply to#119757
On 2017-10-05, Ian McCall <ian@eruvia.org> wrote:
> On 2017-10-05 09:27:39 +0000, Huge <Huge@nowhere.much.invalid> said:
>
>> On 2017-10-05, Ian McCall <ian@eruvia.org> wrote:
>>> ...it's more getting access to
>>> interactive APIs on the other end.  -Not- piping commands in or reading
>>> from a text file, pure interactive typing.
>>> 
>>> If you can do that I'd be interested.
>> 
>> Oh, Gawd, my poor brain - it must be decades since I've done this.
>> 
>> [Googles]

which doesn't bode well for useability, plain 'telnet host port' is
dead easy to remember.
 
>> And the answer is apparently so;
>> 
>> http://www.binarytides.com/netcat-tutorial-for-beginners/
>
> Hmm - doesn't seem so from that page unless I'm being dumb. The page 
> refers to telnet all the way through, in order to test the 
> netcat-provided socket.
>
> It says I can open a shell, but that's not what I'm looking for here.
>

Try 'man nc' on your Mac and scroll down to the heading 'CLIENT/SERVER
MODEL' for some simple examples.

Hmm. socat's manpage has more comprehensive examples. I haven't even
started looking at how well these translate to 'nc' equivalents, but
they give a better idea of the things you can do - and a mail.sh script
to do what you are asking...

<http://www.dest-unreach.org/socat/doc/socat.html#EXAMPLES>

-- 
Everybody has a testing environment. Some people are lucky enough to
have a totally separate environment to run production in.

[toc] | [prev] | [next] | [standalone]


#119756

FromPaul Sture <nospam@sture.ch>
Date2017-10-05 12:41 +0200
Message-ID<vrehae-4792.ln1@news2.chingola.ch>
In reply to#119752
On 2017-10-05, Ian McCall <ian@eruvia.org> wrote:
> On 2017-10-04 21:07:47 +0000, Huge <Huge@nowhere.much.invalid> said:
>
>> 
>>> telnet is for playing with socket-based APIs and services.
>> 
>> For which netcat is better.
>
> Hmm. Can you use netcat for interactive?

I believe you can, but first off, when everyone says 'netcat', they
usually mean 'nc'.  The command 'netcat' isn't there on High Sierra, the
command 'nc' is.

I started using 'socat' several years ago, which claims to be a
rerwritten netcat++.

<http://www.dest-unreach.org/socat/>

    socat - Multipurpose relay
    Abstract
    
    what: "netcat++" (extended design, new implementation)
    OS:   AIX, BSD, HP-UX, Linux, Solaris e.a. (UNIX)
    lic:  GPL2
    inst: tar x...; ./configure; make; make install
    doc:  README; socat.html, socat.1; xio.help
    ui:   command line
    exa:  socat TCP6-LISTEN:8080,reuseaddr,fork PROXY:proxy:www.domain.com:80

I used it successfully for the specific case where an emulator author
had made some assumptions which made life tricky using the traditional
telnet client to connect to its console.

I'd forgotten this, but the command I devised made it into that emulator's
manual.  This connects to a RAW socket on localhost port 20000:

    socat -,raw,echo=0,escape=0x1c tcp:127.0.0.1:20000

    The escape 0x1C is Ctrl-\; it allows you to escape from socat.

> ie. the:
>
> telnet some.host.invalid
> EHLO
> MAIL From:
> ....etc...
>
>
> scenario?
>
>
> Note that mail testing is just an example, it's more getting access to 
> interactive APIs on the other end.  -Not- piping commands in or reading 
> from a text file, pure interactive typing.
>
> If you can do that I'd be interested.

The basic answer is yes.


-- 
Everybody has a testing environment. Some people are lucky enough to
have a totally separate environment to run production in.

[toc] | [prev] | [next] | [standalone]


#119740

Fromnospam <nospam@nospam.invalid>
Date2017-10-04 11:35 -0400
Message-ID<041020171135561235%nospam@nospam.invalid>
In reply to#119738
In article <8k9fae-hlk1.ln1@news2.chingola.ch>, Paul Sture
<nospam@sture.ch> wrote:

> >> I still use FTP. Actually find it nicer to use than any of the GUI
> >> alternatives.
> >
> > ftp is not secure. use sftp instead.
> 
> It isn¹t as easy as that.  There's a whole lot of hardware out there
> which doesn't support sftp.  A quick check on my reasonably new router
> shows that ftp, telnet and ssh are supported, sftp isn't.

then use ssh, which is what sftp uses, or get another router.

> FWIW I usually use scp in preference to sftp.

that works too.

[toc] | [prev] | [next] | [standalone]


#119741

FromJaimie Vandenbergh <jaimie@sometimes.sessile.org>
Date2017-10-04 17:55 +0100
Message-ID<vi4atcha8l2c2cprr7al5lb8ggrbuaccnr@4ax.com>
In reply to#119738
On Wed, 4 Oct 2017 16:59:52 +0200, Paul Sture <nospam@sture.ch> wrote:

>On 2017-10-04, nospam <nospam@nospam.invalid> wrote:
>> In article <1ndd1q4.19nbwm81gojen9N%italiancar@gmail.com>, Steve H
>><italiancar@gmail.com> wrote:
>>
>>> > 
>>> > > Telnet seems to have gone from High Sierra. This is a Very Bad 
>>> > > Thing(tm) from my perspective, I didn't use it for login shells 
>>> > > anywhere rather I used it to check that sockets were responding on 
>>> > > various servers.
>>> > 
>>> > Both telnet and ftp command line tools are gone.
>>> 
>>> Really?!
>>> 
>>> I still use FTP. Actually find it nicer to use than any of the GUI
>>> alternatives.
>>
>> ftp is not secure. use sftp instead.
>
>It isn’t as easy as that.  There's a whole lot of hardware out there
>which doesn't support sftp.  A quick check on my reasonably new router
>shows that ftp, telnet and ssh are supported, sftp isn't.

Routers are one of those places where I'd *really* prefer them to drop
telnet and ftp.

>FWIW I usually use scp in preference to sftp.

Same. Or rsync, depending on quantity.

	Cheers - Jaimie
-- 
It's important to be comfortable in your own skin
because it's illegal to wear someone else's.

[toc] | [prev] | [next] | [standalone]


#119747

FromPaul Sture <nospam@sture.ch>
Date2017-10-05 02:14 +0200
Message-ID<p4agae-3iu1.ln1@news2.chingola.ch>
In reply to#119741
On 2017-10-04, Jaimie Vandenbergh <jaimie@sometimes.sessile.org> wrote:
> On Wed, 4 Oct 2017 16:59:52 +0200, Paul Sture <nospam@sture.ch> wrote:
>
>>On 2017-10-04, nospam <nospam@nospam.invalid> wrote:
>>>
>>> ftp is not secure. use sftp instead.
>>
>>It isn’t as easy as that.  There's a whole lot of hardware out there
>>which doesn't support sftp.  A quick check on my reasonably new router
>>shows that ftp, telnet and ssh are supported, sftp isn't.
>
> Routers are one of those places where I'd *really* prefer them to drop
> telnet and ftp.

Yes, I was working towards a minor rant about that before I got
interrupted.

It upsets me when I see so many bits of kit which supply telnet
and ftp servers, with no (obvious) way to switch them off.

I suspect that we can lay the blame on Windows here.  Methinks
that Microsoft dropping their traditional opposition to ssh
coming shortly after Ballmer's departure was no coincidence.
 
>>FWIW I usually use scp in preference to sftp.
>
> Same. Or rsync, depending on quantity.

Yep. Should have mentioned rsync as well.

-- 
Everybody has a testing environment. Some people are lucky enough to
have a totally separate environment to run production in.

[toc] | [prev] | [next] | [standalone]


#119742

FromChris Ridd <chrisridd@mac.com>
Date2017-10-04 19:13 +0100
Message-ID<or38d2$b03$1@dont-email.me>
In reply to#119738
On 04/10/2017 15:59, Paul Sture wrote:
> It isn’t as easy as that.  There's a whole lot of hardware out there
> which doesn't support sftp.  A quick check on my reasonably new router
> shows that ftp, telnet and ssh are supported, sftp isn't.

wget supports ftp. Apple's build of curl may do as well.

-- 
Chris

[toc] | [prev] | [next] | [standalone]


#119749

Fromstk.usenet@haller-berlin.de (Stefan Haller)
Date2017-10-05 09:10 +0200
Message-ID<1ndezsv.1t1lpds1bcs7fjN%stk.usenet@haller-berlin.de>
In reply to#119737
nospam <nospam@nospam.invalid> wrote:

> ftp is not secure. use sftp instead.

My ISP doesn't offer ssh access (unless I pay a lot more, which I don't
want to), so ftp is the only option for managing my web site.


-- 
Stefan Haller
Berlin, Germany
http://www.haller-berlin.de/

[toc] | [prev] | [next] | [standalone]


#119750

FromHuge <Huge@nowhere.much.invalid>
Date2017-10-05 08:53 +0000
Message-ID<f3ma7jFn0bcU1@mid.individual.net>
In reply to#119749
On 2017-10-05, Stefan Haller <stk.usenet@haller-berlin.de> wrote:
> nospam <nospam@nospam.invalid> wrote:
>
>> ftp is not secure. use sftp instead.
>
> My ISP doesn't offer ssh access (unless I pay a lot more, which I don't
> want to), so ftp is the only option for managing my web site.

Can you name them so I can make sure I recommend that people do not use
them?

And find a better ISP.


-- 
Today is Pungenday, the 59th day of Bureaucracy in the YOLD 3183
                  I don't have an attitude problem.
    If you have a problem with my attitude, that's your problem.

[toc] | [prev] | [next] | [standalone]


#119764

Fromnospam <nospam@nospam.invalid>
Date2017-10-05 09:49 -0400
Message-ID<051020170949266107%nospam@nospam.invalid>
In reply to#119749
In article <1ndezsv.1t1lpds1bcs7fjN%stk.usenet@haller-berlin.de>,
Stefan Haller <stk.usenet@haller-berlin.de> wrote:

> 
> > ftp is not secure. use sftp instead.
> 
> My ISP doesn't offer ssh access (unless I pay a lot more, which I don't
> want to), so ftp is the only option for managing my web site.

what kind of shitty isp doesn't offer ssh? 

their customers are at risk for being hacked.

[toc] | [prev] | [next] | [standalone]


#119813

Fromitaliancar@gmail.com (Steve H)
Date2017-10-07 15:06 +0100
Message-ID<1ndj5y7.1bp7zdjrnfq19N%italiancar@gmail.com>
In reply to#119749
Stefan Haller <stk.usenet@haller-berlin.de> wrote:

> nospam <nospam@nospam.invalid> wrote:
> 
> > ftp is not secure. use sftp instead.
> 
> My ISP doesn't offer ssh access (unless I pay a lot more, which I don't
> want to), so ftp is the only option for managing my web site.

And to be honest, the stuff I upload to webservers doesn't really need
security!

FTP is quick and easy. I don't want to have to learn how to use
something else.
-- 
Steve H

[toc] | [prev] | [next] | [standalone]


#119817

FromHuge <Huge@nowhere.much.invalid>
Date2017-10-07 15:55 +0000
Message-ID<f3sbn8F517dU1@mid.individual.net>
In reply to#119813
On 2017-10-07, Steve H <italiancar@gmail.com> wrote:
> Stefan Haller <stk.usenet@haller-berlin.de> wrote:
>
>> nospam <nospam@nospam.invalid> wrote:
>> 
>> > ftp is not secure. use sftp instead.
>> 
>> My ISP doesn't offer ssh access (unless I pay a lot more, which I don't
>> want to), so ftp is the only option for managing my web site.
>
> And to be honest, the stuff I upload to webservers doesn't really need
> security!

It isn't the "stuff" that matters; it's the username and password, which
transit the Internet in plain text. Once I have those I can use your web
site for whatever I like. It would be a convenient place to store kiddie
porn and stolen credit cards, and host the malware I want people to download
with "my" phishing attacks.

> FTP is quick and easy. I don't want to have to learn how to use
> something else.

Sigh.


-- 
Today is Setting Orange, the 61st day of Bureaucracy in the YOLD 3183
                  I don't have an attitude problem.
    If you have a problem with my attitude, that's your problem.

[toc] | [prev] | [next] | [standalone]


#119832

FromRay <buggeroff@outlook.corn>
Date2017-10-08 06:53 +0100
Message-ID<0001HW.1F89F4EF019A717F7000057432CF@News.Individual.NET>
In reply to#119813
On 7 Oct 2017, Steve H wrote
(in article<1ndj5y7.1bp7zdjrnfq19N%italiancar@gmail.com>):

> Stefan Haller<stk.usenet@haller-berlin.de>  wrote:
>
> > nospam <nospam@nospam.invalid> wrote:
> >
> > > ftp is not secure. use sftp instead.
> >
> > My ISP doesn't offer ssh access (unless I pay a lot more, which I don't
> > want to), so ftp is the only option for managing my web site.
>
> And to be honest, the stuff I upload to webservers doesn't really need
> security!
>
> FTP is quick and easy. I don't want to have to learn how to use
> something else.

sftp, or TLS/SSL, is just secure ftp. Most, if not all, ftp clients support 
it, even the free ones.
All proper web hosts now insist on it and will reject non secure connections.

-- 
A bachelor is a selfish, undeserving guy who has cheated some woman out
of a divorce.
--Don Quinn

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | uk.comp.sys.mac


csiph-web