curl-library
Re: Using libcurl to send shell commands through SSH?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 28 Jun 2018 23:49:08 +0200 (CEST)
Date: Thu, 28 Jun 2018 23:49:08 +0200 (CEST)
On Wed, 27 Jun 2018, Aleksandar Lazic wrote:
> I use `curl -v --max-time 5 telnet://...:port` very often to check
> network connectivity as because the simple telnet tool isn't installed
> by default on the most distributions.
It seems like a bit overkill to keep support for a protocol like that simply
for checking connectivity.
Using another protocol scheme would give you almost the same functionality,
like:
curl -v --max-time 5 ftp://...:port
... the difference is only what happens when it actually connects.
-- / daniel.haxx.se ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2018-06-28