emuell / restic-browser

A GUI to browse and restore restic backup repositories.
MIT License
722 stars 22 forks source link

Can't connect with sftp #120

Open gigibytes opened 2 months ago

gigibytes commented 2 months ago

First of all, thank you for a great application. I've used it before and loved it. I'm trying to use it again on a Mac to access the backup from another machine.

I'm using macOS release 0.3.1.

The first screenshot shows that I am connected with SSH to the host, yet from restic browser, I can't seem to connect. I have my SSH config set up with the host name and identity file to use, so when running the SSH command, I don't have to enter a password or point to an identity file (this does work though the screenshot has the -i flag).

I can also connect via SFTP with the restic CLI to the exact path that I'm putting into restic browser, so it does seem to just be an issue with restic browser SFTPing.

Checking the insecure TLS box makes no difference.

Thanks for any help!

SCR-20240922-rfxj SCR-20240922-saws SCR-20240922-rzru
emuell commented 1 month ago

Hi. Sorry for the late reply.

If that works in the command line restic call, this indeed should just work. I am not sure why it doesn't.

Maybe some of nacOS security features do break this, or you are setting some of the credentials in your bash, zsh init scripts? Those are not loaded in GUI apps such as Restic Browser. To test if that's the issue, try launching Rustic Browser from your shell instead of launching it from Finder.

omexlu commented 1 month ago

I cant connect at all btw. its stuck on " Fetching Snapshots ": https://github.com/emuell/restic-browser/issues/128

omexlu commented 1 month ago

Now i had the same error as @gigibytes

@gigibytes Furthermore maintained?

There must be bugs in restic-browser what concerns SFTP, something is really wrong here :)