filestash icon indicating copy to clipboard operation
filestash copied to clipboard

Missing sftp config in admin

Open Daxcor69 opened this issue 2 years ago • 8 comments

I am unable to set default values for the sftp server connector in the admin console. I am using the lastest image. Everything works fine however I have lost the ability to configure some of the default values for the sftp server. I would like to set the default address and port for the sftp server.

image

Daxcor69 avatar Dec 19 '22 19:12 Daxcor69

I have the same issue. Were you able to fix? I'm on a fresh install.

fernyzablah avatar Jan 04 '23 22:01 fernyzablah

No still waiting on a reply

Daxcor69 avatar Jan 04 '23 22:01 Daxcor69

I have the same issue for all storage backends. I can not add or edit the default values.

jackald avatar Jan 05 '23 14:01 jackald

Same issue here, for all storage backends, after a fresh docker-compose reinstalllation.

EDIT: Apparently it is not an issue but the expected behavior as sated here by the dev. A simple workaround seem to be using the Passthrough authentication middleware, but it's not really self-explanatory and undocumented. Furthermore there seem to have some issue with custom ports.

Teufeuleu avatar Mar 11 '23 17:03 Teufeuleu

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 18 '23 14:06 stale[bot]

Passthrough authentication middleware

It used to be easy to do. I f understand correctly, recent changes made it only possible only through configs, as people misused the GUI.

A configuration example would be so useful.

lispstudent avatar Jun 21 '23 13:06 lispstudent

I have the same issue. I'd love the ability to add the SFTP host automatically and only ask for the username/password.

ibuys avatar Aug 07 '23 19:08 ibuys

I've found the issue with setting the SFTP hostname with the passthrough middleware. I understood that in the Authentication Middleware section, I had to select username_and_password, and select the SFTP backend. However, it was unclear to me that in the Attribute Mapping, I had to set the hostname in plain text, but set {{ .user }} and {{ .password }} as the Username and Password values respectively. Especially since the password value is obscured.

I was able to get this working though, hope this helps if anyone else is confused about this.

ibuys avatar Aug 10 '23 14:08 ibuys