How can I set the source port for an SSH command-line client? [closed]
You have to use nc as ProxyCommand. SSH only supports to specify the bind address of the SSH client.
ssh -o 'ProxyCommand nc -p 2345 %h %p' $MY_SERVER
Something like this should work.