this post was submitted on 06 Nov 2026
466 points (97.2% liked)

Technology

89619 readers
3350 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] theneverfox@pawb.social 3 points 3 days ago (1 children)

SFTP is just FTP over SSH... Also, FTP is essentially one small step away from code execution, even on a secure network it's better to use SFTP

SSH isn't many things, it's one connection type through which you can do many things. You can't simply cat a file over without being able to handle the throughput gracefully, otherwise you'd have to design a new layer to do exactly the same thing. The same for reading files, if it can't gracefully spit out 10k lines in a second you couldn't handle output

And if you can do all that, why not allow VIM over the same connection? You're already going to have to manage the terminal session, why not fully reflect a terminal?

FTP is absolutely not the answer, but a server that will conditionally serve files as well as conditionally accept uploads is far more secure. The same for everything... If you want to manage users, instead of allowing remote code execution you should use an API to perform predefined tasks

SSH isn't meant for security or production use, it's meant for power and flexibility. It's generally deactivated by default for a reason, but it's included for a reason too. It's just really damn useful

[โ€“] MonkderVierte@lemmy.zip 3 points 3 days ago

Ok, maybe i misunderstood ssh.