Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to log in SSH with password #116

Open
evansan opened this issue Sep 30, 2022 · 2 comments
Open

Unable to log in SSH with password #116

evansan opened this issue Sep 30, 2022 · 2 comments

Comments

@evansan
Copy link

evansan commented Sep 30, 2022

plain SSH works eg. ssh [email protected], rsync also works

snap-sync -c home -r 192.168.1.123
[email protected]'s password: 
[email protected]'s password: 
Exited due to error on line 222.
exit status: 1
command: TARGETS=$($ssh findmnt -n -v -t btrfs -o TARGET --list)
bash line: 0
function name:
@saucyfox
Copy link

saucyfox commented Oct 12, 2022

Are you trying to back up to a Synology device or some other weird embedded linux system? I'm having the same issue with my Synology NAS, and it's because they don't ship util-linux (which provides findmnt). You'll have to either find a way to package/install it yourself or modify the script to not rely on findmnt for target selection. Also, at least with recent versions of Synology DSM, logging in as root won't work either, so you'll have to use the --sudo flag.

It's probably best to just use your own script if you're dealing with weird/locked down hardware.

@evansan
Copy link
Author

evansan commented Oct 23, 2022

@saucyfox the target was a laptop with fully updated Arch Linux, the root partition was ext4, and a btrfs external drive mounted under /mnt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants