Skip to content

sftp: Introduce ssh_mode: native, using golang's ssh module#56

Open
glemmaPaul wants to merge 2 commits into
integration/sftpfrom
glemmaPaul/sftp-ssh-mode-native
Open

sftp: Introduce ssh_mode: native, using golang's ssh module#56
glemmaPaul wants to merge 2 commits into
integration/sftpfrom
glemmaPaul/sftp-ssh-mode-native

Conversation

@glemmaPaul

Copy link
Copy Markdown

Introduces a parameter (not included in schema.json) ssh_mode that defaults to openssh but moves to native if set or GOOS is windows. When native is chosen, golang's ssh module is used, aligning as close to the openssh sidecar solution.

Includes test (especially e2e_test.go) that test the commonality between the two ssh_mode. It specifically spins up a docker (very AI generated bloatcode, mi scusi) with atmoz/sftp to completely test end to end.

@omar-polo omar-polo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

haven't tested it on windows yet, but LGTM :)

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

Successfully merging this pull request may close these issues.

2 participants