"Unusual Behavior: SSH's Handling of Spaces in Command-line Arguments"

1 min read
Source: Hackaday
"Unusual Behavior: SSH's Handling of Spaces in Command-line Arguments"
Photo: Hackaday
TL;DR Summary

A user discovered that when using SSH to execute a command on a remote server, spaces in command-line arguments can be handled strangely. The user expected the command to be passed on transparently, but SSH turned the argument "bar\ baz" into two separate command-line arguments, causing the command to fail. The exact reason for this behavior is unknown, but it is suspected to be a design decision or an entrenched bug.

Share this article

Reading Insights

Total Reads

0

Unique Readers

4

Time Saved

1 min

vs 2 min read

Condensed

76%

29871 words

Want the full story? Read the original article

Read on Hackaday