Terminal log export in vscode remote ssh

303 Views Asked by At

I am using remote ssh from vscode to connect my Linux machines which is working fine. But I need to save my remote ssh session log in vscode terminal automatically for every ssh session I am going to use from vscode. Can you please someone help me to fix this issue as soon as possible? It is something like putty logging.

1

There are 1 best solutions below

0
carlfriedrich On

VSCode does not offer a built-in way to log the terminal session, unfortunately. You could achieve this on shell level, though, for example using screen with its -L parameter or tmux along with the tmux-logging plugin.