This is my connection graph: user --> example.server on port 22 with username1/password1 --> example.server with username2/password2 on different port (some ssh subsystem port, e.g. 1000). I cannot connect any other way.
What would I need to do so I can write this and connect automatically to port 1000:
shh username1@example.server -s subsystem
password1: