ssh-backend w/ rsync or scp?

336 views
Skip to first unread message

Jay Christopherson

unread,
Feb 25, 2016, 1:21:54 PM2/25/16
to Vault
Is there any way to use the ssh-backend with scp or rsync-over-ssh to copy files around?

Jeff Mitchell

unread,
Feb 25, 2016, 1:41:40 PM2/25/16
to vault...@googlegroups.com
Hi Jay,

Sure. You can simply use the OTP or key in place of your other
credentials when connecting via scp or rsync.

Best,
Jeff

On Thu, Feb 25, 2016 at 1:21 PM, Jay Christopherson <jayc...@gmail.com> wrote:
> Is there any way to use the ssh-backend with scp or rsync-over-ssh to copy
> files around?
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in violation
> of those guidelines may result in your removal from this mailing list.
>
> GitHub Issues: https://github.com/hashicorp/vault/issues
> IRC: #vault-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vault" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vault-tool+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vault-tool/0b390e74-a9a4-44ac-815a-f66c91038d39%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Jay Christopherson

unread,
Feb 25, 2016, 2:31:14 PM2/25/16
to Vault
Thanks Jeff - I had gotten used to using Vault and sshpass via the Vault ssh command (e.g. "vault ssh ...") and so I was thinking there was/should be a "vault scp" command or something.  It never occurred to me, for some reason, to do otherwise.  Sorry for the hassle.

Jeff Mitchell

unread,
Feb 25, 2016, 2:52:54 PM2/25/16
to vault...@googlegroups.com
Hi Jay,

No problem! It might be useful to allow a flag to indicate which
binary to run (similar to -e for rsync). But it's a bit more work than
you might expect, due to different ways of specifying options. Maybe
it could be supported in a sort of bare-bones way, and anything more
advanced would require the user to manage it on their own.

--Jeff
> https://groups.google.com/d/msgid/vault-tool/7093de02-652b-43ea-b561-36b41d8eb2ed%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages