Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

[WIP] ssh: workaround to not block Stdin from returning corrrectly #1620

Closed
wants to merge 1 commit into from

Conversation

dongsupark
Copy link
Contributor

Assign session.stdin using StdinPipe() to avoid cases of ssh connetions being blocked on user input.

WIP, do not merge. Not tested.

Reported-by @kayrus
maybe partly resolves #1499

Assign session.stdin using StdinPipe() to avoid cases of ssh connetions
being blocked on user input.

WIP.

Reported-by: kayrus <kay.diam@gmail.com>
maybe partly resolves coreos#1499
@dongsupark
Copy link
Contributor Author

After traversing a long rabbit hole, I realized that it would not be easy at all to fix this issue. Even with goroutines & wrappers around stdin, io.Copy still remained being blocked.
I'll reopen it when I could have a better idea.

@dongsupark dongsupark closed this Jul 20, 2016
@dongsupark dongsupark deleted the dongsu/ssh_stdinpipe branch October 12, 2016 16:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fleetctl: "askToTrustHost" doesn't work correctly with cluster and empty "known_hosts"
1 participant