Hello, I am testing Unison for potential implementation on my network and it has been going rather well except for one issue that I have ran into. I am able to get syncing between two systems (non-domain joined laptop using Cygwins and domain-joined Truenas core box) using ssh pre authentication and local accounts, however when I try to use a domain account associated with the Truenas, I have no luck. I have created a prf file with the following (keeping it basic until I get this issue resolved):
# Unison preferences file
root = /cygdrive/c/Temp/Test/Test
root = ssh://first.last.DOMAIN.local@IP_ADDRESS//mnt/tank/data/path/path/Test/
When using this method, my ssh fails to contact the server. When I use the following username format: ssh://"DOMAIN\first.last"@IP_ADDRESS", I receive an ill format error.
When I use the following username format: ssh://first.last@IP_ADDRESS, I receive a password prompt for the domain user, however I keep receiving a permission denied error, even though the domain account has the ability to ssh, and owns the entire file path, and can access the resources and manipulate the path via other methods (like rsync). (Note: I receive the permission denied error, regardless of whether or not I enter the correct password for the user account)
When I use the following format: ssh://first.last.domain@IP_ADDRESS, I receive a dns resolution error.
I have tried many other username/domain combinations with no luck at all. My Truenas box is tied into my domain and I can ssh to it using the domain account and even rsync with it using the account, however have no luck with Unison. I am a noob to Linux/freebsd etc. (only about 2 weeks time working with it) so this may be simple syntax error, but I have had no luck finding any resources related to Unison and domain accounts. Has anyone had any luck using Unison with domain accounts? Thanks for any help you can provide.
# Unison preferences file
root = /cygdrive/c/Temp/Test/Test
root = ssh://first.last.DOMAIN.local@IP_ADDRESS//mnt/tank/data/path/path/Test/
When using this method, my ssh fails to contact the server. When I use the following username format: ssh://"DOMAIN\first.last"@IP_ADDRESS", I receive an ill format error.
When I use the following username format: ssh://first.last@IP_ADDRESS, I receive a password prompt for the domain user, however I keep receiving a permission denied error, even though the domain account has the ability to ssh, and owns the entire file path, and can access the resources and manipulate the path via other methods (like rsync). (Note: I receive the permission denied error, regardless of whether or not I enter the correct password for the user account)
When I use the following format: ssh://first.last.domain@IP_ADDRESS, I receive a dns resolution error.
I have tried many other username/domain combinations with no luck at all. My Truenas box is tied into my domain and I can ssh to it using the domain account and even rsync with it using the account, however have no luck with Unison. I am a noob to Linux/freebsd etc. (only about 2 weeks time working with it) so this may be simple syntax error, but I have had no luck finding any resources related to Unison and domain accounts. Has anyone had any luck using Unison with domain accounts? Thanks for any help you can provide.