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

SSH Remote Command Execution #91

Open
coredevorg opened this issue Jun 6, 2023 · 1 comment
Open

SSH Remote Command Execution #91

coredevorg opened this issue Jun 6, 2023 · 1 comment

Comments

@coredevorg
Copy link

Hi,

I'm going to use the mystifyio/go-zfs package in a cobra based command line application for filesystem and snapshot management. Thanks for your work so far!

I have implemented a straight-forward solution to support remote execution of the ZFS commands via SSH. I've tried to do this in a way, which has minimum impact on the core system and all your tests are running in a local environment as well as remotely against the Vagrant Ubuntu box. Pls. see ssh-remote-command branch of my fork for details. If you think, the implementation is of general interest for the project, I will be happy to review the code and create a pull request.

Additional features from my backlog are:

  • advanced filtering of filesystem/snapshot lists with glob patterns
  • func (d *Dataset) LastCommonSnapshot(target *Dataset) (*Dataset, error)

Thanks for your reply and comments,
Bernd

@coredevorg coredevorg changed the title SSH Remote Command SSH Remote Command Execution Jun 6, 2023
@mmlb
Copy link
Member

mmlb commented Jun 12, 2023

I can see the utility for this but this seems out of scope for the project to me.

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

No branches or pull requests

2 participants