teleport icon indicating copy to clipboard operation
teleport copied to clipboard

Added file copying role option and node config option

Open capnspacehook opened this issue 1 year ago • 0 comments

Added role option and node config option for controlling remote file operations via SCP/SFTP.

For #13216.

capnspacehook avatar Aug 02 '22 21:08 capnspacehook

@capnspacehook PR looks fine. I'm just not sure why we need a new certificate extension permit-file-copying. Here is my output from tsh status

% tsh status
> Profile URL:        https://example.com:3080
  Logged in as:       bob
  Cluster:            example.com
  Roles:              admin, auto-users, disable-file-copy
  Logins:             ubuntu1, ubuntu, admin, -teleport-internal-join
  Kubernetes:         enabled
  Kubernetes groups:  edit
  Valid until:        2022-08-19 02:34:23 -0400 EDT [valid for 11h44m0s]
  Extensions:         permit-file-copying, permit-port-forwarding, permit-pty

We need permit-port-forwarding, permit-pty extensiona as OpenSSH uses them permit-port-forwarding, permit-pty permit-file-copying looks redundant.

jakule avatar Aug 18 '22 19:08 jakule

@jakule gotcha, I was initially using a PR that added port forwarding to guide what code I should change, didn't exactly understand what the extensions were for. I'll remove that.

capnspacehook avatar Aug 18 '22 20:08 capnspacehook