: and / character in username cause ttermpro.exe to crash
I could not reproduce it in my environment.
Can you reproduce it with the following command line?
ttermpro.exe example.com:22 /ssh /user=a1 /passwd=qwert-1234zxc-ggth-0011/11
look like it's a bug with launching new ttermpro.exe session from ttmenu to some ssh hosts with their non-conventional usernames. using command line like you had suggested with the actual hostname, username and password worked with no error or crashing
I set parameters to ttpmenu like avobe image, and run. I couldn't confirm this issue.
host: example.com username: a1 password: qwert-1234zxc-ggth-0011/11
Tera Term is launched with no error.
Appears "Connection timed out. Because "example.com" is not able to resolve. It’s not relevant to this issue.
user name that contains : and / just
host: example.com username: a1:qwert-1234zxc-ggth-0011/11 password: (zero width string)
This is incorrect input. password is input to in username field. But Tera Term didn't crash.
host is on internal server and crash happens during authentication. if I change hostname to some non-existent host then it would just timeout like you see without crash is there anything I can try to capture to provide some useful info for debug?
Process Explorer able to show command line string that is passed by other process when it was launched.
ttpmenu.exe | +- ttermpro.exe <- Please see its "command line" (while "Access Violation" message is showing, process does not die yet)
Compare above command line string to the command line string when you confirmed "worked with no error or crashing."
ttermpro.exe example.com:22 /ssh /user=a1 /passwd=qwert-1234zxc-ggth-0011/11
And please let us know the difference.
Thanks,
from ProcessHacker/SystemInformer, ttmenu launched ttermpro.exe commandline has an additional /auth=password option immediately after /ssh. if I add /auth=password to the commandline, then I get the same crash
I called this from command prompt.
ttermpro.exe 192.168.x.x:22 /ssh /user=a1 /passwd=qwert-1234zxc-ggth-0011/11 /auth=password
Login failed with a message "SSH2 auto-login error: user authentication failed." Because my host 192.168.x.x doesn't have user "a1" whose password is "qwert-1234zxc-ggth-0011/11"
Launch and authentication without crash in my PC. I checked a variable that stores password. In Visual Studio, passed "qwert-1234zxc-ggth-0011/11" (included "/") is stored correctly.
Please set LogLevel=100 to TERATERM.INI in "TTSSH" section, and launch Tera Term. Please show us TTSSH.log. It can tell when Tera Term dies. (if nothing is logged, before communication. if some communication is logged, Tera Term died after last event.)
do you know where can I find the TTSSH.LOG file?
1. for TTSSH.LOG, it looks like I need to launch ttermpro.exe with elevated permission to generate the log in the same directory as ttermpro.exe. TT is installed at default path of Program Files (x86)\teraterm 2. launch ttermpro.exe with elevated permission and that /auth=password option doesn't crash, so this crash seems to be related to permission or access issue
under linux, we can ssh login with command ssh -p 1234 a1:qwert-1234zxc-ggth-0011/11@example.com
if I configure Tera Term Menu with user name that contains : and / just like the above to login into ssh server. click on that Tera Term Menu item to launch ttermpro.exe for login results in a crash saying Access Violation with Tera Term 4.106