restic-browser icon indicating copy to clipboard operation
restic-browser copied to clipboard

Connection impossible using a custom SFTP port ?

Open firesixtieone opened this issue 1 year ago • 3 comments

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 ...

firesixtieone avatar May 05 '24 21:05 firesixtieone

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.

emuell avatar May 06 '24 07:05 emuell

I use the right type SFTP and then I put this the URL : [email protected]: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 :)

firesixtieone avatar May 06 '24 10:05 firesixtieone

I took this as URL:

sftp:
//[email protected]:12345//var/backups/restic/myxxx

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

horshack avatar Jun 02 '24 11:06 horshack