Linenoise

anim_linenoise

Simulate a fake SSH connection attempt with animated ASCII noise. Cycles through ASCII characters in-place for a visual "hashing" effect, then prints a fatal error message to give the appearance of a failed connection.

Arguments

  • $1 (string): Target hostname to display in the connection message

Exit codes

  • 0: Always

Output on stdout

  • Animated connection noise followed by a fatal error line