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
When enabling ssh, a restart is required. The enable-ssh command should give a hint #1282
Comments
|
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/153444698 The labels on this github issue will be updated when the story is started. |
If an app is created without ssh access enabled, you need to restart it after enabling ssh before you can actually ssh into it. Otherwise the ssh route doesn't exist and the ssh deamon is not started in the container. This happens e.g. on landscapes where the ssh access is disabled by default for all apps ([default_app_ssh_access](http://bosh.io/jobs/cloud_controller_ng?source=github.com/cloudfoundry/cf-release&version=281#p=cc.default_app_ssh_access): false). Related PR for cf cli: cloudfoundry/cli#1282
|
Thanks for the report! |
|
It works for me without restart but it requires some time to wait (10-30 seconds). |
|
At the same time I noticed that containers are restarted automatically after enabling or disabling ssh. |
|
@jsievers thanks for creating this issue. This issue's been documented and we are closing this due to inactivity. The v3 version of this command will work without a restart, so when we release support for v3 commands, this issue (if you are using the latest version of the CF API) should be resolved. Let us know if you have any feedback/comments by either reopening this issue or creating a new one. |
|
Hi sorry to reopen this topic after such a long time. |
Command
cf enable-ssh myapp
What occurred
What you expected to occur
CLI Version
cf version 6.32.0+0191c33d9.2017-09-26
CC API Endpoint Version
api version: 2.98.0
The text was updated successfully, but these errors were encountered: