summaryrefslogtreecommitdiff
path: root/doc/forum/Shared_connection_to_xxx_closed./comment_5_7be9e5912ef4165bf193f65f51b8216b._comment
blob: 15c06336b5b4e112a2c7ee1b0209c42d9c973374 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[[!comment format=mdwn
 username="joey"
 subject="""comment 5"""
 date="2015-09-21T19:47:17Z"
 content="""
So here's the code that runs that ssh command:

	unlessM (boolSystem "ssh" (map Param $ cacheparams ++ ["-t", sshtarget, shellWrap runcmd])) $
		error "remote propellor failed"

I'm surprised it didn't fail with the error. This seems to say that ssh
exited 0, but without running the command.

Also, ssh seems to have decided to take down the shared connection of its
own accord, which seems strange. Normally it should leave the shared
connection open.

If you're able to reproduce this reliably, look into whether making
`sshCachingParams` return [] and thus get rid of this ssh connection caching somehow avoids the problem?
"""]]