Elektrine lite

← Feed

@bagder@mastodon.social

2026-08-31 09:25 UTC

So tell me. Do you think #curl should support plain SSH:// URLs to execute commands remotely? https://github.com/curl/curl/pull/22661

Replies (4)

  • @bagder@mastodon.social 2026-08-31 09:28

    and kids, don't forget that curl is even more a library than a command line tool...

    Open ##4583599

  • @oots@infosec.exchange 2026-08-31 09:40

    @bagder@mastodon.social I think it depends on how you (the maintainers) see curl/libcurl. If you see it as a "Swiss army knife", maybe it's okay to do it. If you see it as a "swiss army knife for file transfer", then I don't see why it should be added if you already support SFTP and whatnot. But really, I wonder why one would want to use curl/libcurl for running SSH commands. * if you need a library to run ssh commands on some remote server, then `libssh`/`libssh2` is the sane way to do it, no need to add it to libcurl. * if you need a command line tool, just use `ssh` directly. Either way, I see no reason to add this to curl.

    Open ##4583748

  • @bagder@mastodon.social 2026-08-31 09:32

    can I also remind you all that curl already speaks SCP and SFTP, in command line tool and library...

    Open ##4583827

  • @bagder@mastodon.social No. Even less so when it's slop.

    Open ##4585184