Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SFTP support to agent #278

Open
adamkissvcc opened this issue Aug 24, 2021 · 1 comment
Open

Add SFTP support to agent #278

adamkissvcc opened this issue Aug 24, 2021 · 1 comment
Labels
feature New feature or request

Comments

@adamkissvcc
Copy link

Please describe what you need help with:

Hello,
I'm using containerssh in kubernetes. Is it possible to use sshd in the container for handling sftp? (instead of sftp-server). I'm following up on #240, and I would like to use it's ChrootDirectory feature, but I can't get it working.

Have you read the troubleshooting guide?

Knowing this information helps us avoid unnecessary questions.

What have you tried to resolve this problem?

I tried setting

subsystems:
        sftp: /sftp.sh

where sftp.sh calls exec /usr/sbin/sshd -D, but i guess it's not that simple, I don't fully understand how sftp works with containerssh.

@adamkissvcc adamkissvcc added the support Ask a question label Aug 24, 2021
@ghost ghost added feature New feature or request and removed support Ask a question labels Aug 24, 2021
@ghost
Copy link

ghost commented Aug 24, 2021

@adamkissvcc we can do this by including an SFTP protocol decoder in the ContainerSSH agent. This will, however, take some doing, so it may take a while.

@ghost ghost changed the title Use sshd for sftp Add SFTP support to agent Aug 24, 2021
@ghost ghost self-assigned this Aug 24, 2021
@ghost ghost removed their assignment May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant