Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> classic reboot utility and systemd are the same thing just because modern Linux distros symlink the reboot command to systemctl

You are acknowledging my point - in this case they ARE the same thing. If it looks like a duck, quacks like a duck, and walks like a duck - it's a duck. This is like arguing symlinks are wrong and instead of `python` you must use `python3.12` even though they are ultimately identical. Read the man page for `scp` and read the man page for `sftp` and seriously tell me why I should use one over the other.

> That compatibility behavior is not present on pre-2022 distros

Who is using a pre-2022 distro reading this comment? And I have been using scp (with SSH, SFTP) for a lot longer than since 2022. Like over a decade.

Your comment reads like an HOA enforcer. Just raising fuss for no actual benefit.



> You are acknowledging my point - in this case they ARE the same thing. If it looks like a duck, quacks like a duck, and walks like a duck - it's a duck.

Ok, so two programs with different code that perform the same task are identical to you. There are never any merits or drawbacks on implementation according to you.

All the extra features that SFTP has but SCP doesn't don't exist, because "looks like a duck, quacks like a duck." SCP being faster but not allowing resuming interrupted transfers doesn't matter, because "looks like a duck, quacks like a duck."

If this is the level of thought you put into your tech, you don't seem worth arguing with, but you also don't seem like someone who should be "teaching" anything to anyone in your own comments.

> Who is using a pre-2022 distro reading this comment?

Plenty of enterprises. That's only two years ago. People still use systems far older than that.

This does include Ubuntu 22.04 LTS, which shipped OpenSSH 8.9. It would also include RHEL 9, which shipped OpenSSH 8.7, if Red Hat hadn't specifically patched it with the updated behavior.

Here's Red Hat talking about SCP being deprecated in RHEL 9, specifically: https://www.redhat.com/en/blog/openssh-scp-deprecation-rhel-... Interesting how much they have to say about the topic since there's apparently no difference, according to you.

> And I have been using scp (with SSH, SFTP) for a lot longer than since 2022. Like over a decade.

You probably weren't, you were probably using SCP. Optional SFTP support wasn't even added to the SCP command until 2020, committed in 2021, so "over a decade" is just factually impossible: https://github.com/openssh/openssh-portable/commit/197e29f1c...

This is why you need to know these things, because now you kind of look like an idiot for not even knowing the tools you use.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: