SSH

Accessing Shares on a Computer That Is Not a Member of a Domain

When the computer to be reached is not a member of the same domain as the computer with SSH server, the shares on it can still be accessed. However, the access will only work if the Windows native user account credentials are used for authentication and if the user account with the same name and password exists on the remote machine.

Accessing shares as a user with a different name works in an interactive session as described in Accessing Network Shares Using Another User's Account.