Botafoguense1965 Posted August 8, 2023 Share Posted August 8, 2023 (edited) Hi all. So I mounted an Unraid share using cifs, providing my user and password which are accepted. Then I try to transfer a file with rsync to it from my Ubuntu machine and the Unraid server do not accept the same already proven password (because it mounted the share with that password..) Can't figure it out! PS "senha" means password in portuguese,,, Thanks, André avallejo@andre-xps:~/Documents$ sudo rsync -rv testeCopia [email protected]:/mnt/BackUPWin [sudo] senha para avallejo: The authenticity of host '192.168.0.150 (192.168.0.150)' can't be established. ED25519 key fingerprint is SHA256:nZs+LYgnsE4MYqqGU1yMVMj622etdpgwBkcNligzdyE. This key is not known by any other names Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '192.168.0.150' (ED25519) to the list of known hosts. ([email protected]) Password: ([email protected]) Password: ([email protected]) Password: [email protected]'s password: Permission denied, please try again. [email protected]'s password: Connection closed by 192.168.0.150 port 22 rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: unexplained error (code 255) at io.c(231) [sender=3.2.7] avallejo@andre-xps:~/Documents$ Edited August 8, 2023 by Botafoguense1965 correcting Quote Link to comment
JonathanM Posted August 8, 2023 Share Posted August 8, 2023 console login is only root, no defined users, smb / nfs is only defined users, no root use rsync to transfer with the locally mapped mount location, not the network location. 2 hours ago, Botafoguense1965 said: So I mounted an Unraid share using cifs, providing my user and password which are accepted. To what local path did you mount the unraid share? Quote Link to comment
Botafoguense1965 Posted August 8, 2023 Author Share Posted August 8, 2023 9 minutes ago, JonathanM said: console login is only root, no defined users, smb / nfs is only defined users, no root use rsync to transfer with the locally mapped mount location, not the network location. To what local path did you mount the unraid share? You mean I should login as a user and not as root? The local path is /mnt/NAS Quote Link to comment
Solution JonathanM Posted August 8, 2023 Solution Share Posted August 8, 2023 1 minute ago, Botafoguense1965 said: You mean I should login as a user and not as root? to mount a share you must use a valid user, not root to connect to the console, you must use root, not one of the users 1 minute ago, Botafoguense1965 said: The local path is /mnt/NAS use that path as the rsync destination, assuming it mounted correctly and you see the contents of the unraid share at that local path. Quote Link to comment
Botafoguense1965 Posted August 9, 2023 Author Share Posted August 9, 2023 23 minutes ago, JonathanM said: to mount a share you must use a valid user, not root to connect to the console, you must use root, not one of the users use that path as the rsync destination, assuming it mounted correctly and you see the contents of the unraid share at that local path. That solved the issue, thanks a lot! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.