You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using eg ControlMaster auto (reusable ssh sessions) on all hosts Host *, bosh shows an error: process_mux_new_session: tcgetattr: Inappropriate ioctl for device
This behavior is due to the nature that ssh wants to keep a control session running even after it got disconnected but bosh expects ssh to end.
Two workarounds I found:
a) Try to exclude IP addresses from the environment in the users ssh config before Host *
# Don't use control sockets for IP addresses (simplified match)
Host *.*.???.* *.*.??.* *.*.?.*
ControlMaster no
Of course you could have the IP addresses in your match like 192.168.*.* but if you don't know them for whatever reason above may be appropriate.
This issue was marked as Stale because it has been open for 21 days without any activity. If no activity takes place in the coming 7 days it will automatically be close. To prevent this from happening remove the Stale label or comment below.
This issue was closed because it has been labeled Stale for 7 days without subsequent activity. Feel free to re-open this issue at any time by commenting below.
When using eg
ControlMaster auto
(reusable ssh sessions) on all hostsHost *
, bosh shows an error:process_mux_new_session: tcgetattr: Inappropriate ioctl for device
This behavior is due to the nature that ssh wants to keep a control session running even after it got disconnected but bosh expects ssh to end.
Two workarounds I found:
a) Try to exclude IP addresses from the environment in the users ssh config before
Host *
Of course you could have the IP addresses in your match like
192.168.*.*
but if you don't know them for whatever reason above may be appropriate.b) Pass in a ssh option for bosh
I believe it should be standard for the cmdOpts in https://github.com/cloudfoundry/bosh-cli/blob/master/ssh/session.go since this ssh sessions will never be reused
Option b) doesn't work with scp since that doesn't accept options.
The text was updated successfully, but these errors were encountered: