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

Support for bastions without access to shell #13

Open
jackivanov opened this issue May 26, 2021 · 0 comments
Open

Support for bastions without access to shell #13

jackivanov opened this issue May 26, 2021 · 0 comments

Comments

@jackivanov
Copy link

jackivanov commented May 26, 2021

Hi there,

It would be great if we can support bastions without shell access

 % knife bastion start
Creating a tunnel to Chef server:
  * Bastion host: [email protected]
  *    Chef host: xxx.local
  *   Local port: 6443
  *      Timeout: 600 seconds
Establishing connection to server.com
Authentication succeeded, local ports should be opened...
OK:  Successfully started proxy on port 6443

% channel 1: open failed: unknown channel type: Access is denied. Opening a shell is forbidden for TCP applications.

% knife bastion status
FATAL: Tunnel is not open on port 6443
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

1 participant