I have an SSH command that works fine from the command line but fails without a message when using the terminal program's New Remote Connection feature. For example, I set up a new connection in Terminal's New Remote Connection dialog as follows:
ssh firstname.lastname@example.org -p 1022
This opens a new window as expected, but never connects and the window closes after a predictable amount of time. (Interestingly, the timing is different but consistent for each of two servers: 15 seconds on one and 75 seconds on the other).
If I open a local shell and paste the same command, it connects perfectly as expected. I can also connect to four other servers on the same domain using the New Remote Connection approach.
My specific question is, what's going on? But more generically, is there any way to see logging information or other clues from Terminal in the "New Remote Connection" mode?