News for hackers. Stuff that matters.
Re:Show HN: An SSH based utility to transfer pipes across ma... by fulafel on Saturday January 04, 2025 @04:57AM (#42593780)
The remote ssh server used in the demo seems to be a proxy service so apparently it's for cases where you can't ssh in to your example's server2.
Re:Show HN: An SSH based utility to transfer pipes across ma... by remram on Saturday January 04, 2025 @11:17AM (#42595603)
I think you can turn this (or any equivalent service like ssh-j.com) into an end-to-end encrypted option by relaying an SSH connection over which you send the data, instead of relaying the data.

Example:

  # receiver
  ssh [email protected] -N -R ssh:22:localhost:22
  socat UNIX-RECV:/tmp/foobar - | my command

  # sender
  my-command | ssh -J [email protected] ssh socat - UNIX-SENDTO:/tmp/foobar
  (log in with your creds to receiver host, enjoy end-to-end encryption)