Re: Enable/disable ssh access
Stephan Merker
We will prepare a PR. Thanks Nicholas and Noburou for the pointers.
Best regards, Stephan From: Nicholas Calugar [mailto:ncalugar(a)pivotal.io] Sent: Freitag, 11. November 2016 00:50 To: Noburou TANIGUCHI <dev(a)nota.m001.jp>; Discussions about Cloud Foundry projects and the system overall. <cf-dev(a)lists.cloudfoundry.org> Subject: [cf-dev] Re: Re: Re: Enable/disable ssh access Your assessment is correct. It seems like we could use another configuration, like default_app_ssh_access that would be added to the line you linked: https://github.com/cloudfoundry/cloud_controller_ng/blob/f2b4118fb23665d8f021ef2f82de9952c563cddd/app/models/runtime/app.rb#L274 Would anyone be willing to submit a PR for this? -- Nicholas Calugar On November 10, 2016 at 10:07:25 AM, Noburou TANIGUCHI (dev(a)nota.m001.jp<mailto:dev(a)nota.m001.jp>) wrote: It seems that, with the current implementation, there's no way to disable ssh by default while configuring `cc.allow_app_ssh_access` as true. It is since the default value of `allow_ssh` for a space is true [1], and the value of `enable_ssh` for an app becomes true if it is nil and`cc.allow_app_ssh_access`and space.allow_ssh` is true [2]. [1] https://github.com/cloudfoundry/cloud_controller_ng/blob/f2b4118fb23665d8f021ef2f82de9952c563cddd/app/controllers/runtime/spaces_controller.rb#L12 [2] https://github.com/cloudfoundry/cloud_controller_ng/blob/f2b4118fb23665d8f021ef2f82de9952c563cddd/app/models/runtime/app.rb#L274 Grifalconi, Michael wrote Hi, I sent the same question (in a less formal way) a couple of days ago stephan.merker@ > cf-dev(a).cloudfoundry<mailto:cf-dev(a).cloudfoundry> > cf-dev(a).cloudfoundry<mailto:cf-dev(a).cloudfoundry> " < cf-dev(a).cloudfoundry<mailto:cf-dev(a).cloudfoundry> > ----- I'm not a ... Noburou TANIGUCHI -- View this message in context: http://cf-dev.70369.x6.nabble.com/cf-dev-Enable-disable-ssh-access-tp6088p6091.html Sent from the CF Dev mailing list archive at Nabble.com.
|
|