You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This limit is in place because of $(getconf ARG_MAX), which is 1M on macOS12.3 (I'm using ARG_MAX / 2 in my own version), so the 64k limit could definitely be raised/adapted to the current ARG_MAX.
I don't quite understand what use case would the CMDARG part be useful for but if you really need extra stuff in there, having multiple sshrcs and just symlinking the appropriate one in your wrapper sounds like a much more manageable story.
Activity
thomasmerz commentedon May 17, 2023
On my OpenSUSE and Ubuntu I get
2097152as ARG_MAX and on my MacOS it's1048576. This should definitively be fixed by someone (PR?) 👍🏼sshrc: Check real command size against single-argument limit
sshrc: Check real command size against single-argument limit