Hope this helps future community memebrs.
as an alternative to using the SMB / SMBv2 node, the following example shows how to read a shared network file via SSH using this package: @arcsoft/node-red-sshtools
[
{
"id": "7728cfd563975489",
"type": "sshread",
"z": "1d378cd62ce1c8b4",
"name": "",
"sshccfg": "",
"filename": "//DESKTOP-DG3S7T8/temp/1.txt",
"format": "utf8",
"encoding": "none",
"allProps": false,
"chunk": false,
"sendError": false,
"x": 520,
"y": 240,
"wires": [
[
"e5f4a9b2714fda81"
]
]
},
{
"id": "4edd9066f801b68e",
"type": "inject",
"z": "1d378cd62ce1c8b4",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 180,
"y": 240,
"wires": [
[
"7728cfd563975489"
]
]
},
{
"id": "e5f4a9b2714fda81",
"type": "debug",
"z": "1d378cd62ce1c8b4",
"name": "debug 15",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 900,
"y": 240,
"wires": []
},
{
"id": "4fe0fa74146e9e52",
"type": "comment",
"z": "1d378cd62ce1c8b4",
"name": "tips",
"info": "enable SSH on host\n\nShare a folder with a windows user\n\nuse the windows user in the configuration of the SSH node\n\nread file from the shared host\n\nNote:\nwas not working untill i manually started \"sshBroker\" windows service on host machine",
"x": 430,
"y": 200,
"wires": []
}
]