5
Meta
6y

So today I found out why I couldn't SCP stuff to one of my servers for the last 6 months.

It was a fricking "echo" in the .bashrc script (well, in a script that got sourced in there).

(Read: https://stackoverflow.com/q/...)

Comments
  • 2
    Though there's "fun" stuff to be made of this.

    When echoing nothing, scp just halts. But when echoing a text, that text acually gets printed for the SSH client ...

    ---

    $ scp foo host:

    Please pay for this service

    ---

    ... ok, maybe not a good idea 🤔
Add Comment