Re: Moving files from PC to 3D printer
What does the "debug" do? Does it start a new shell with elevated privileges (like
In any case, you probably need to use SCP protocol and specify the "debug" as a shell:
https://winscp.net/eng/docs/ui_login_scp#shell
But if it does not start a new shell, you might also need to follow it by start of the actual shell.
See also How do I change user after login (e.g. su root)?
su does)? Or does it just somehow reconfigure the current shell/session?
In any case, you probably need to use SCP protocol and specify the "debug" as a shell:
https://winscp.net/eng/docs/ui_login_scp#shell
But if it does not start a new shell, you might also need to follow it by start of the actual shell.
See also How do I change user after login (e.g. su root)?