What's the difference between WinSCP session and other SSH client session?
I am facing strange issue regarding node.js on a server I am using.
When I log in on that server using typical SSH client like putty or ubuntu on windows that I am using now, this command:
displays, that I am using 10th version of node.
When I will log in through WinSCP and open a terminal or run bash script through execute context menu, I will be using 6th version of node.
I'd like to find out what's going on, why while I am logging in with the same credentials, I am getting different results. Is there a way to configure WinSCP in some way, that I will end up using the "right" version of node (i.e. I'll be in the same environment that I am in when using typical SSH client?).
When I log in on that server using typical SSH client like putty or ubuntu on windows that I am using now, this command:
node -v
When I will log in through WinSCP and open a terminal or run bash script through execute context menu, I will be using 6th version of node.
I'd like to find out what's going on, why while I am logging in with the same credentials, I am getting different results. Is there a way to configure WinSCP in some way, that I will end up using the "right" version of node (i.e. I'll be in the same environment that I am in when using typical SSH client?).