Hello guys,
I am new to winSCP.
I would like to ask you about winSCP's limitations and side effects.
WinSCP Version: 5.9.3
Protocol: SFTP
I inserted "script command" in target server to track user operations.
Here is the "script command"
.
bash_profile
{
......
script -f /tmp/`date +%Y%m%d_%H%M%S`_$USER.log
[EOF]
}
That command runs first whenever user's terminal starts opening.
After I inserted the command in target server, I connected target server via winSCP.
Even winSCP can be opened, I can't open winSCP's Terminal.
Please refer the following picture for error and root@10.1.9.207_env.log.
(<invalid hyperlink removed by admin>)
I found on winSCP's official site that
winSCP does not support commands that require terminal emulation or user input.
My understanding is
When winSCP's terminal opens, script command runs in that terminal automatically.
After script commands runs, error occurred as shown in picture(1).
I executed "script command" while the command haven't inserted in target server as environment variable.
I got error message as following picture and root@10.1.9.207_terminal.log.
(<invalid hyperlink removed by admin>)
May I know the followings!
How does "script command" concerns with winSCP's limitation?
What's the effect of "script command" on winSCP?
Thanks
Myo Min Thein