I am on macos monterey & have the following in my ~/.ssh/config:
Host foo
HostName cyberark.company.com
User user@user#company.com@target_vm
ssh foo
from my terminal has #company.com@target_vm
portion of my User value automatically truncated where as ssh user@user#company.com@target_vm@cyberark.company.com
works correctly. Seems like everything after # is treated as comments in .ssh/config file. How do I escape # in this file?