emuell / restic-browser

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

[SFTP CUSTOM PORT] Connection impossible using a custom SFTP port ? #106

Open firesixtieone opened 1 month ago

firesixtieone commented 1 month ago

I may have made a mistake, but It seems I can't connect to my repo using a custom SFTP port, I'm trying to add :myport at the end of the IP adress, but It throw me an error.

unable to start the sftp session, erro receiving version paket from server: server unexpetedly closed connection: unexpected EOF

Thanks, and sorry if this is a stupid question ...

emuell commented 1 month ago

That should just work if you are not using any other special, advanced SFTP options.

How does your sftp URL look like? How are you using it in restic and how do you use it in Restic-Browser? Please note that the sftp: prefix should be skipped in Restic-Browser, after you've selected SFT as location type in the repository browser.

firesixtieone commented 1 month ago

I use the right type SFTP and then I put this the URL : myuser@XX.XXX.XXX.XXX:PPPPP

XX.XXX.XXX.XXX For the IP of the server I'm trying to connect

PPPPP : For the custom port I'm trying to use

If that's matter I'm on a windows machine

This command works in powershell ^^

Thanks again :)

horshack commented 4 weeks ago

I took this as URL:

sftp:
//restic@myserver.mydomain.com:12345//var/backups/restic/myxxx

I would appreciate if there would be a little help with the sftp-URL in the configuration page.