From c66bfd065018a033a992dfdce27a8aedbbc68944 Mon Sep 17 00:00:00 2001 From: petervo Date: Tue, 6 Jun 2017 23:30:34 -0700 Subject: [PATCH 1/2] ssh: Hookup channel callbacks before spawning the bridge command The success message may be received by libssh together with the init message causing the callback to never get executed. Closes #6875 Reviewed-by: Stef Walter --- dist/dashboard/Makefile.deps | Bin 4116 -> 4116 bytes dist/dashboard/dashboard.min.js.map | Bin 910429 -> 910429 bytes dist/docker/Makefile.deps | Bin 6353 -> 6353 bytes dist/docker/console.min.js.map | Bin 477072 -> 477072 bytes dist/docker/docker.min.js.map | Bin 2829016 -> 2829016 bytes dist/docker/test-docker.min.js.map | Bin 1030957 -> 1030957 bytes dist/kdump/Makefile.deps | Bin 4350 -> 4350 bytes dist/kdump/kdump.min.js.map | Bin 394008 -> 394008 bytes dist/kdump/test-config-client.min.js.map | Bin 409871 -> 409871 bytes dist/kubernetes/Makefile.deps | Bin 30370 -> 30370 bytes dist/kubernetes/kubernetes.min.js.map | Bin 7293965 -> 7293965 bytes dist/kubernetes/registry.min.js.map | Bin 5138353 -> 5138353 bytes dist/kubernetes/scripts/test-connection.min.js.map | Bin 3392856 -> 3392856 bytes dist/kubernetes/scripts/test-images.min.js.map | Bin 4656577 -> 4656577 bytes .../kubernetes/scripts/test-kube-client.min.js.map | Bin 4287551 -> 4287551 bytes dist/kubernetes/scripts/test-nodes.min.js.map | Bin 5615074 -> 5615074 bytes dist/kubernetes/scripts/test-projects.min.js.map | Bin 3577427 -> 3577427 bytes dist/kubernetes/scripts/test-tags.min.js.map | Bin 2637474 -> 2637474 bytes dist/kubernetes/scripts/test-utils.min.js.map | Bin 2640440 -> 2640440 bytes dist/kubernetes/scripts/test-volumes.min.js.map | Bin 4647998 -> 4647998 bytes dist/machines/Makefile.deps | Bin 5132 -> 5132 bytes dist/machines/machines.min.js.map | Bin 2438552 -> 2438552 bytes dist/machines/test-machines.min.js.map | Bin 402780 -> 402780 bytes dist/networkmanager/Makefile.deps | Bin 4668 -> 4668 bytes dist/networkmanager/network.min.js.map | Bin 1081108 -> 1081108 bytes dist/networkmanager/test-utils.min.js.map | Bin 420119 -> 420119 bytes dist/ostree/Makefile.deps | Bin 3739 -> 3739 bytes dist/ostree/ostree.min.js.map | Bin 4364988 -> 4364988 bytes dist/ostree/test-utils.min.js.map | Bin 2635322 -> 2635322 bytes dist/pcp/Makefile.deps | Bin 897 -> 897 bytes dist/playground/Makefile.deps | Bin 9946 -> 9946 bytes dist/playground/jquery-patterns.min.js.map | Bin 57028 -> 57028 bytes dist/playground/metrics.min.js.map | Bin 6969 -> 6969 bytes dist/playground/plot.min.js.map | Bin 483471 -> 483471 bytes dist/playground/react-patterns.min.js.map | Bin 345424 -> 345424 bytes dist/playground/service.min.js.map | Bin 34889 -> 34889 bytes dist/playground/speed.min.js.map | Bin 15729 -> 15729 bytes dist/playground/test.min.js.map | Bin 15321 -> 15321 bytes dist/playground/translate.min.js.map | Bin 2361146 -> 2361146 bytes dist/realmd/Makefile.deps | Bin 1548 -> 1548 bytes dist/selinux/Makefile.deps | Bin 3120 -> 3120 bytes dist/selinux/selinux.min.js.map | Bin 1341403 -> 1341403 bytes dist/shell/Makefile.deps | Bin 7721 -> 7721 bytes dist/shell/index-no-machines.min.js.map | Bin 411192 -> 411192 bytes dist/shell/index-stub.min.js.map | Bin 768822 -> 768822 bytes dist/shell/index.min.js.map | Bin 774399 -> 774399 bytes dist/sosreport/Makefile.deps | Bin 2600 -> 2600 bytes dist/sosreport/sosreport.min.js.map | Bin 21301 -> 21301 bytes dist/ssh/Makefile.deps | Bin 897 -> 897 bytes dist/storaged/Makefile.deps | Bin 7239 -> 7239 bytes dist/storaged/storage.min.js.map | Bin 1458867 -> 1458867 bytes dist/storaged/test-util.min.js.map | Bin 540199 -> 540199 bytes dist/subscriptions/Makefile.deps | Bin 3625 -> 3625 bytes dist/subscriptions/subscriptions.min.js.map | Bin 364241 -> 364241 bytes dist/systemd/Makefile.deps | Bin 5599 -> 5599 bytes dist/systemd/logs.min.js.map | Bin 137649 -> 137649 bytes dist/systemd/services.min.js.map | Bin 1446380 -> 1446380 bytes dist/systemd/system.min.js.map | Bin 958664 -> 958664 bytes dist/systemd/terminal.min.js.map | Bin 613676 -> 613676 bytes dist/tuned/Makefile.deps | Bin 2085 -> 2085 bytes dist/tuned/performance.min.js.map | Bin 283823 -> 283823 bytes dist/users/Makefile.deps | Bin 2488 -> 2488 bytes dist/users/users.min.js.map | Bin 391039 -> 391039 bytes src/ssh/cockpitsshrelay.c | 52 ++++++++++++--------- 64 files changed, 29 insertions(+), 23 deletions(-) diff --git a/dist/dashboard/Makefile.deps b/dist/dashboard/Makefile.deps index 30c968893cd9e42d6ef07cd5c6efbbbba71f87a7..ab99fbf0dfdae868e1a6eaf7e778803ee27d18b2 100644 GIT binary patch delta 41 wcmbQDFhya4rJRwaf{}rtxq_jgm8qeXp^<{SZ-}meseyrlhHG%h#_+xT0MlCvW&i*H delta 41 vcmbQDFhya4rJRAGf{}rtxq_jgm8q$fsgZ)aZ-}-55GZJbhB$8w-^&jG(trwG diff --git a/dist/dashboard/dashboard.min.js.map b/dist/dashboard/dashboard.min.js.map index 99fc73e6c57fb71bff07825041bef42832cc7c1f..dd9c3da6a27462834e93b1d7b49285070a3eb93b 100644 GIT binary patch delta 128 zcmcb6!u;+D^9gYxW+|4&sVS+6CTV77$tk93W@*NzllhrNC*Nn`YMj_Qk+F3mQ|m&NGe|Ozn??IDnWFh`E568;E(f KKMLZlo(KR3b}?`O delta 128 zcmcb6!u;+D^9gYxMyZy@NrncNDF((VCaEa~Nr@>YllhrNC*Nn`YMj_Qk+F3mQ|m&NGe|Ozn??IDnWFh`E568;E(f KKMLZlo(KTVN-)v@ diff --git a/dist/docker/Makefile.deps b/dist/docker/Makefile.deps index 8dadbc6f3b804cafcfd7f8f83c38f22d0749027e..fbb98ccdbc7fcef2fa34261fd3237747fb0a5c9d 100644 GIT binary patch delta 41 wcmca;c+qfznVgZOf{}rtxq_jgm8qeXp^<{SZ-}meseyrlhHG%h#*kVG0P3v@#Q*>R delta 41 vcmca;c+qfznVf;4f{}rtxq_jgm8q$fsgZ)aZ-}-55GZJbhB$8wsg(c#>Cy_k diff --git a/dist/docker/console.min.js.map b/dist/docker/console.min.js.map index e0aecba4724b09f4364a4a810b1de51919f585ea..54c2e25f2c9d17ff4689fac58e432702b5e20447 100644 GIT binary patch delta 80 zcmbQxFFOHiv delta 80 zcmbQxFFOHi(pt$;i@52b> zwm0qN$@R95yS9&qgR`-{wd3wqtJC%Z!XQFKn1~QjB1XiC1d$|CM4HGDSt3W|i2_k1 zN<^8c5LKc^)QQFu=KWLo7hNsil%}+#Egk7fPb}%nK!!4su}owtGnv0EfAK#50BPMz AasU7T diff --git a/dist/docker/test-docker.min.js.map b/dist/docker/test-docker.min.js.map index 127a9c8f37e8e67fcf7c1afe102ad0759b80aea9..d19e0c56518a18d77052478a1b77bbfcbe04dfad 100644 GIT binary patch delta 119 zcmZ4c&2H^Cy9u$92Igt0W~phGCW$GQsip>LX=W*w_DRM@CKKPwHcoDx%-A}asdX}Q z>tvSJ$*irD*;*&Fw@&8RI+=4`0(|BN#LV;d`H delta 119 zcmZ4c&2H^Cy9u$9h6c&0X%?2LriMw0iI!%DX{MH`_9iCD78BpgHcoDx%-A}asdX}Q z>tvSJ$*irD*;*&Fw@&8RI+=4`0(|BN#LLs%;D diff --git a/dist/kdump/Makefile.deps b/dist/kdump/Makefile.deps index 7dfac58c0a7fa8c4a52242be74b4b50644d98be0..dfd516b91fe52105dea12c9579c146dfa94ae064 100644 GIT binary patch delta 41 wcmeyT_)l?yshp9ef{}rtxq_jgm8qeXp^<{SZ-}meseyrlhHG%h#^BWg0Q3qABLDyZ delta 41 vcmeyT_)l?yshokKf{}rtxq_jgm8q$fsgZ)aZ-}-55GZJbhB$8wUM&Cs^Dhe; diff --git a/dist/kdump/kdump.min.js.map b/dist/kdump/kdump.min.js.map index 74876c321d26644be8c53a225d87d245515cc043..faddbae1f894378fb77f48bf03048393c35d1ac8 100644 GIT binary patch delta 81 zcmbQyCNZN;VnUcml37}+QKDf=nz^xog_)75S&B*0?~U8|wf7 delta 81 zcmbQyCNZN;VnUdRg=M07T5^(kO0ub8N|K>LnsIXS^b_9R~ma diff --git a/dist/kdump/test-config-client.min.js.map b/dist/kdump/test-config-client.min.js.map index b324bc6a00b1c02ed52987cfe4b15b51c2b4f21c..2fcb4056e67d219c870af4f1368a680aca26912f 100644 GIT binary patch delta 87 zcmeBglI(AioRBP;WR{j{lxUceW^Qa?VP<4%mSU1*pPXWt+*s3E!`NEGw6%u0`;-Va YWz+pXGY7Tjo@NGOmhHKxSr?T80QlP;cmMzZ delta 87 zcmeBglI(AioRBPOVVP*2mYigsl5A?2l4NL*W}KXCZ)s_4*jUqA!`NEGw6%u0`;-Va YWz+pXGY7Tjo@NGOmhHKxSr?T801GT14*&oF diff --git a/dist/kubernetes/Makefile.deps b/dist/kubernetes/Makefile.deps index 5831a996bc2390512f0a7496bf352804e9bd5cc4..0e3080f82addcc7358e3e9ad05e11850d441029a 100644 GIT binary patch delta 43 ycmZ4VmT}Qr#tBw(MwSXj28QMehK5$AhE|3~3hurkx(22O1_~Ok!66$XyvhI?<_r`7 delta 43 xcmZ4VmT}Qr#tBw(28Ieo28QMehK5$ArdFm#3hurk+6F+Npb;A4yfMP73;-Gn3=04N diff --git a/dist/kubernetes/kubernetes.min.js.map b/dist/kubernetes/kubernetes.min.js.map index 4f011afc4558afe7e1baca930afdf62e5b4dc3e0..ac97e6561c7c00ca70cfa62496556bf3b59055e0 100644 GIT binary patch delta 455 zcmZwCxl&UB0EOWpS4dO@)QEx_KoL{~W4K%rH+B_JFm6NzOhO3C+R;;-p<+gdA{75a z*f^;yd^67jP<#*Y9i99Qj_hYK84gEbB^Or8Q6|hrne=F>T0Q=i>OTG*OB^5?L`($Y zjA#^1A}$i*tT-pmi)L{_w1`&GCN7Fg;<8AJE23Ro71ur(Q zEqcWr(I@)FU2#v`7X#vf7!*U|p-78IA|r-HC`LpiMnzWS#AES9JQdHxb1^2y|1ePx zPCeH1{|f2guoj=NNt?21o3R)6(q7rD&Dp%Ywl}t5i}u#?_Rikh2m5HBY{?4t*}m9U mTecNjwQp9ml9g@EDz$Uja{`7yLTCV&6 delta 455 zcmZwC$ySm90EXcszXoRI5SC4d+F;oL$PhLdilt>LjWj7T{5H31-{L#1I42JaTD%w0 zro*a5ch+|SEuIT_+CTpUZTnG+7juntJ)H>)sbVV(v)OdBmGA5)lAT|X*f&I(Ku6Dg4v88I)iA}8{qAg+s|SP(bFO>s-y7K`G}Z%V!3 zzsFwXZ#5Ns??y|uWXo2z6}xNqY}MB6zCEyYduSWBX zPAtJHoCO$s^RMyQ3N_^UE@512e9!m~)-eU^sKrl)PGBnM}i$-2JkyAO7bGeX9xsq$SX;#~}?#my>^O`vT delta 350 zcmZwB%Q8X%00!WxkmOPvl6xT}bULSU6ouS*1&h*ojAl&pkF8;Gw*L!Qv@nfDUcp8i zkKif%4`A`_zs}c(za!80aVOs}>t@a^W}T+%+P3-7EL5zz)p(5>N$>5q9DF3`1N~qC z8~_KwAutFIgCTGP41=TK7&s12fDteXPJ&aQ0ZxN6U<{lEI1aA<*5Rtsdn-oSeY~po4W&vVYne-A~CUHGw}oNWcUmi zJ23bu+z((l^9ko`Bb3E^&KbCl?>YXPYdg=b-Ftc+k6(Px^}arh)|8+DM!+a|0LH*W zFb*cbBk&kZf+yf9cm}4xG?)R;!7ONk7vLp$1zv+WFc025IMEE(ep&4lqb^k^lez delta 262 zcmZwAJ5B;o00qzth@vQhpa}8@Q9y;q0EWsv(9-dl&fbE=Slp0Mk(fy6NL;|J%q(Lp zDJWP9cL5ZqKAX8`ZDjGD>~%(FXj;x|vo~>^cH4|6-8Xw^kG?;x>K8!^^nrfx2n>M7 z;0YK6Pr)-V1fGKzU>LjvBVZJ~0%KqtyasQ;1b7Q3!4!B0rvI3U{lpK&OYg(hAshdJd@*)jsijkJPUD?z69@8~*Z2$lO diff --git a/dist/kubernetes/scripts/test-images.min.js.map b/dist/kubernetes/scripts/test-images.min.js.map index f723adfec4e021f71c756ec1298828700323f275..a5d1203e073e421f1671d641b7b5adf52a8468e9 100644 GIT binary patch delta 317 zcmZwBIZgrr0EOWIiu;ZW?&zq98^Sm+qT+rG6U~GKZ(;FbYhtM;7L%ZQ|XS!!^?R;2`!Xyrpr>GLvqe{8<*lIPCIEvqYQ>7O~N~A?b^of3v6$4^W42fYe zB1XlS7#9;_QcQ_yF(YzfR?LZcu^{qdQ7nmNu_9K*nphVFu^~1^AhyJ|*!iLO@SXc_ z)-60YvYFSQQ?y+x*`Dp&fgReBmF?InR<+PhEV7!_Ew)o@*qNQ%g*ENcuI$=w?AGqO JLFfLf{Rf!8d9nZi delta 316 zcmZwBIZi?W07cONit~($vnVQx1E0?zqJrZxEKq)eyRdk%HL+9^3(DIXYIfujd<(ER z{po*v#{2fxN!QAcK`SUm)k3WuMWs^k)UGtbR`~uK%fBFEA}$hQKn#kc7!t!`M2w0t zF)k*=q?i)ZVn)o0Igt|cVnHm5v{(|$VnwWqHL)%>#HPrIEwL@KVn^(Xy&rN9->Ls% zz07kxnRv~1bGB~>mbXJYvST~3f(2Hz&`MUeidF5@YIbIIJGTqFw1ze9%C7CkZtbp@ J?cRTN{s82)dMN+^ diff --git a/dist/kubernetes/scripts/test-kube-client.min.js.map b/dist/kubernetes/scripts/test-kube-client.min.js.map index 22359166680fe22a9a14a1d3e41ac098d0b0dd41..e78511e62ee05a432182aaff9daf9955c9109433 100644 GIT binary patch delta 294 zcmZwBxlsaP0EXcaQSlZ*1y4M{0}ot&7uE|apa-2DLVGay#$XeTti&-SdV4Um1sZVt z3NU!`XZWq$(B7V_p&f@b3F%WDg>D?RI*)@vFHPd){kQp1%Qs3dh%u29<03C6#H5%K z1u-pV#H^ST^I}0PiX~AL%c3O8VnwWqHBk{&u`V{mrq~kOVn@`(uGka%;^32dB`g1z zdL3nTYuKS3*|D8i(@yQo&h5flc4?8dE!dUC*0HW7c5OFyYj<{Uy{}RB(Es@Z-#mwt delta 294 zcmZwBxlsZE0EOWZQSlZ*1y4M{0}qy6!1clkC<0_ddoXxou!%-i;usSBJs8>o4LH66 z48HsueJeAvx94))8U+2InRFWQFiD~)cpA35VLu$a|JFY$*;?TRF(EQyQe?%Hm=-f4 zCuYT*m=_CTQ7nmNu_E$fRTM-~tci88AxfewHpQ0M7CT~B?1_rl7YE`{9DPzPrN#eJ yuj908H9NKwJGC>b+qqrXrCnLW0&7}mk+rOC9lN&JZtT|X?A{)%`!!A5~- diff --git a/dist/kubernetes/scripts/test-nodes.min.js.map b/dist/kubernetes/scripts/test-nodes.min.js.map index a640ae0e9198b1ede52f07d8b4767c322f646eee..e96c902e200f61482ee488ec370d7ea479de6f5a 100644 GIT binary patch delta 357 zcmZwBH%x2}b5W4aKE1r;%W)Kgs1gZLEowxqs1x;~K{Sdc(JWd-t7sGL zqC<3wF3~NLqDSkg6~4|zw>*k7+A(aTerxvmb2J4Y}2-E+jcB(yS8Whc3_8gWXE=5r*>xNc43!x VW!H9Nw^p#C-P!$Dsrc~r_y-q@gAV`z delta 357 zcmZwBH%@{90EXd+y*Dh_doTP{v4Oo8P$w4xLcGRn^2OE57!Tp@;>Jn*4&dAsgB$`EwXccXuU37>}(IvV? zkLVSBqF;o?fEW}*Vpv4Ph!_=PVq8p!Niij+#f+F0b7EdBh()m^mc@!#6>DN$Y=}(} z6~QO5?|k^b^Lw!nv$!QJX(>zFmSt?)c5K)7Y~Qk$vjaP{BRjSeJGC=Aw+p+pE4#KE UyR|#Jx4aeX!5+Vgg{QaYKlT%Y>Hq)$ diff --git a/dist/kubernetes/scripts/test-projects.min.js.map b/dist/kubernetes/scripts/test-projects.min.js.map index b486e3b749a5e441474a1d1d29d0e5cdfed3eac0..6f02bef847cc3fcab544dad7a86103c1bb6fb141 100644 GIT binary patch delta 274 zcmZwBJx&5a00rRSDuN)QASkG-j(@BI%Pt(vzCu()AhYe6PLbv>z=)hhvUiQB~5%1MW4TcS#$%NTP#Om`JG?} z+yVn|8{7f2;4YX0^WYv>0E^&0SOO2gGI$6cffcX{9)mTo4xWIgU;}J|XW%(_@y&1) zR{yK4W`8yt%wrSErCiCi7`c&Kxs!W&kd{R9C{NOsj&voKo>=LNlff!B-n?x9Udml9 delta 273 zcmZwBxlsaP00rQ|1-U#{4pBi@{Y79=*$W&ZtDpgpO$Z36z~BujGX$g*K*|um8p!Oz zp#fh31YiE`H@}I!EGE@{cjOQKApZ3F<2a5Y|9jl~3Wwpyb(epZS#_)+vsw=v`-flx zJOM2*38uhPFb!tFESLlH;2C%hUVxXN4PJo-un3mGGI$MEz#H%uyaTIX4ZH^*wsZzg y@knJiJp^fM?ioiO5!$cxnFRT|QimblWEH+h#2>4+!31QJRl-JNH8X7&%PZ(Y#< diff --git a/dist/kubernetes/scripts/test-tags.min.js.map b/dist/kubernetes/scripts/test-tags.min.js.map index 1e2d57177d7bf2b82676b5391428ac5a11a9c39c..c72f5f21e15769a7fe0ab05ad04869607617f22b 100644 GIT binary patch delta 207 zcmZw9Ne;mP00q!g&GS$-&&pP+DP1`WX*h!IxA?Jj1aSxH&PL)EcCI1u4`A`O@AkbK zH@O^I-qQENzzcW2>#covvD)tUn=tT$69|Kd5hf8Q5=4?n5osbrWQiP+CkjN7C=q3% zLR5(wVG;E^?CI0`_eZ0*lQhqdmn{uxN=w?(k*@TlF9R9MNX9aesW>u=9u?7-90L8Tze6OKE zE{BG<*xDO=?yqLv-uGSC-tCubXX9*7AVNf#h!9aCM#PB(kt9+?n#d4YB1hzj0#PJN zM46}%22s7i96gPH|J{0zBP?$v}oOlCezgkJt2b`~iM{ BRu=#O diff --git a/dist/kubernetes/scripts/test-utils.min.js.map b/dist/kubernetes/scripts/test-utils.min.js.map index 1bf5311c6262d1221b2c3e01b73080a5a9cf0014..acb3866be64d243892a3ff40b1ffdf5760c76caa 100644 GIT binary patch delta 201 zcmZw9Ne;mP00q$0JS(cyJhPN)N>|Q8n#LV${Kb#0g$p=@=oR!-{sAoB_QlVa5zFJ^ zcst(<11~)Lu6OX=?fw)+$1v~%fG~&@ktQ-kmdFu#qCgah5>X~9M3tx!b;2YXM3ZO{ r7SVpgzJ9HL|J_V%=}1=`=}BJ(GL(^wWg=6V$y^q)l-0*f)|=Z8NTo)D delta 201 zcmZw9ITFDD00q#AeHX;O?@AHNsN5xyj5}!j;*VD00uEv13UVs{0E*YX@cA-Ad0g7Z zooBoDCOE8*eh_T8_SxT`9M|yx!XRQqoJbH!B1NQ$43Q;rM4l)RMWRHM36rQ0RiZ{% rME#A%^=tk6?`G7HrnICj9qCF>`ZAEAjASemnaWJ&viO+Ma&`Lwz>!B@ diff --git a/dist/kubernetes/scripts/test-volumes.min.js.map b/dist/kubernetes/scripts/test-volumes.min.js.map index 298ea82a593acb11aa1baaa750f0cc4fd406e9c6..afefc2c36c45956c3f5d395d0b95f7551f49712e 100644 GIT binary patch delta 327 zcmZwBIZgs$00rQPiYtPOj)2JE3gd>u?+=3uj9aX|fo4Ks#T6`GY)L36IDz!Wj*xc% zYcJqEdfKCnln{vqQFEi);D$QS8C7gb~6fW;Ca2U;Pl*lvhQZf&KtoA zFa}P7Q{Xfh2WP-pa1NXY7r;d@0WN__Fa<7yE8r@a2G_uK&;d8V444IT;3k*{x4;7E zf<`0Sqn>x1r_;AStZ4g2f+NW+*5;f%J?W04>Z7iFb*Do3Gfh1f=6Hq zG{Ix=1Wbb&@Dw})&&SL*zGD9+hd+PSX0JQSN=_`fkW0Ceyj)8`Y$=K(u9T!K6}b^l bs&XrLaxV{3le+lwC{OY%FW=qK>(rkC8-a^b diff --git a/dist/machines/Makefile.deps b/dist/machines/Makefile.deps index b26e9900264f82b37fe5a0c72f19e0893275777c..92e71da28d36b9155412c08abf2a226f056f318c 100644 GIT binary patch delta 41 wcmeCt=+T&9A!lT%U}Ruuu3%_rWol?;Xr$oo8=`AqYG9zC;TjyWF>ISK0Mi-@VE_OC delta 41 vcmeCt=+T&9A!lHyU}Ruuu3%_rWol|=YNX)q8=`Fh1PU6VA>W%3ov-;%RWyh zlgHVO;)^k9yiejJHIWIg;qh<-;SdF)NR)^&Q6Z{Cji?h1qDi!fHqjxvM33kb17b+H l#E2Nb;Q99Ne$TBZ6Pb!HGnvamma>vS*0Pc9JGZ;<=?6UXNEQG9 delta 183 zcmZw9sS(0Z00htp_k9Ke;R;6uWD-7gU@@71-xd%%SOg*}T`<)1H65VX0uax>?DKRo zd7Rz&cu1o(GA0f8Noe9rlw5Bh9HKxJi4svJDnym25p|+LG>I0`COSly=n;KlKnw|& l7!l(aJm3D^@45A4B2)2YCUaTHQdSbkS~jwM=XUo!{Q!i|NW=gD diff --git a/dist/machines/test-machines.min.js.map b/dist/machines/test-machines.min.js.map index 831a494b2908efddd21bc52036320b7aa2c873c1..e1e9ba3b7cbed0d73767948db3835363b8da8d34 100644 GIT binary patch delta 82 zcmca}O5)Bbi3y34MkdL|#z`iIi6)6j#zw{lDFzm1_NFO@rj1ptRgA4wOk1m%7w-_k TrmWp?Co>SUY&YD=s+|J>d4L+Y delta 82 zcmca}O5)Bbi3y34W|rp3rpcxj7Rkm&iN+RYDW-|3_Nf-eW{p*?RgA4wOk1m%7w-_k TrmWp?Co>SUY&YD=s+|J>l2jXQ diff --git a/dist/networkmanager/Makefile.deps b/dist/networkmanager/Makefile.deps index 031e0c4b4b23ecc64f8926f00bfac3ef14303e12..9ba648c836cb78aedcbe75d132960e45bbfd3e26 100644 GIT binary patch delta 41 wcmdm^vPWftot%-Sf{}rtxq_jgm8qeXp^<{SZ-}meseyrlhHG%h#+V0!0OB4B?EnA( delta 41 vcmdm^vPWftot%N8f{}rtxq_jgm8q$fsgZ)aZ-}-55GZJbhB$AGc_0V?;X?}K diff --git a/dist/networkmanager/network.min.js.map b/dist/networkmanager/network.min.js.map index c2ea8afe1c31716f4ad7464861910edcda257aec..1fea15545fd8851387985234e0cf2fee8d5a3081 100644 GIT binary patch delta 128 zcmbR8&vD8>#|eodmd0u328k9)mdR!*1_ov+NonROlk*uxC;sD~o;Q()w{cnPGRD?r zOs&h9TbHr4E@N$7#@4!wy>%JK)@7WZ?qbzH-S7ubQ2W1ooIuP4#N0s41H`;Q%(wmD IJ$|tT0Hy^tmH+?% delta 128 zcmbR8&vD8>#|eodDQPCD#^z~e21zM~rp88QW~l}ylk*uxC;sD~o;Q()w{cnPGRD?r zOs&h9TbHr4E@N$7#@4!wy>%JK)@7WZ?qbzH-S7ubQ2W1ooIuP4#N0s41H`;Q%(wmD IJ$|tT0CcA{#sB~S diff --git a/dist/networkmanager/test-utils.min.js.map b/dist/networkmanager/test-utils.min.js.map index 7e7656a536f2e60d9802c6802b770f4d6e77a27b..3a75083512eb523d381aeaf1a1895b83ecc1c035 100644 GIT binary patch delta 94 zcmbP!Npkun$q6Zvmd0u328k9)mdR!*1_ov+NonRO_Q@88mXkj)icWmRKmFZ*X5Pki gt?L+D*D-Bf$E<%>1e=!jk9V1Ym}UFNyR2&60C^WAr2qf` delta 94 zcmbP!Npkun$q6ZvDQPCD#^z~e21zM~rp88QW~l}y_GZS(sgpl2icWmRKmFZ*X5Pki gt?L+D*D-Bf$E<%>1e=!jk9V1Ym}UFNyR2&60B9~G0RR91 diff --git a/dist/ostree/Makefile.deps b/dist/ostree/Makefile.deps index ec39a6fe5ee40774e26b73da039f3ebbba1ae5a9..c09d84552ee4e7637d19d45e0c2b7717a5053d32 100644 GIT binary patch delta 41 wcmbO&J6m>wnVgZOf{}rtxq_jgm8qeXp^<{SZ-}meseyrlhHG%h#t?Tt0MkDS@c;k- delta 41 vcmbO&J6m>wnVf;4f{}rtxq_jgm8q$fsgZ)aZ-}-55GZJbhB$8wapwa7(qswf diff --git a/dist/ostree/ostree.min.js.map b/dist/ostree/ostree.min.js.map index 86af032b455c17ff42ffa423271132c139dd3584..20ec44b797b52aa711a0691f0972ec4becfd191f 100644 GIT binary patch delta 292 zcmZwBIa0y^0EOWZ_Z3CJEfGXTMa7t4Fz$K^8Y_fbSXjK_A1i0iEWZ95 zk3Mr_`|1?mvN-Lw`)MzUk|=BSyHPLxek}zbhzXGslVVCtiy1L1=ES^M5Q}0-EQ=M9 z7pr1T6vVnHijpXc4Y4V<#J1QGfe6K}sEDfA6E(3f4#eSz`fu=WXD|%wc4WtPVhuaB pGds7YU07t77F%L1yRy{Uc5Rv6*sa~!y*=2YJ=ycmFnp=K{{iFVXwd)w delta 292 zcmZwBIZi@R0EOX*s5npH_?{>t;*8+Cc%5|>HdZez!@}akKUOAo?1R{_Hp5wf#n*qs z!B=5u->>DooApA7?M|M@Rvxk#dhzG2l6)Y>L_v&;qL>hqVoH?6w3rdIVouD91+gfW z#IjfstD-C_Voj`z4Y4V<#I{I8Dt1Iw?20{66Z@hr4hA&-l7Bm&{j_0+*0du#wi7$G nGds5nYuTl>tz%b~S+K5MTeKUywL81F2Ya+9d;aaGFSYj(x&+^zycI6I>d_wSOOs-Q7{EVz!3ZZ6j$Hl zdo><%-c)wW$=qG|b8qTQo#o7T9dEL7J%4){8`h;^L=OZFFaQR@5Eup{U=)mjaWDZU z!4#MVGhi0XfqAe17C{rVZnRHN^WSsNz6bT-as9HTBxR{cRcca~hBT!mZRto?deWDH L4DajL=(GO;$^lVt delta 215 zcmZwAw++Go00cmpWOB~f1rU3sAi15HA*B350}1!4wPuL+}GoTz!x4 z)p*ExQ}dP!-*MdO%=6r_=PX>ucURlle0P}`rHgHt2Z9C|0E1u%41*ES1fyUKjDra< z38ug_m;tk34$OlEun3lJET5jmf6qPh9$3NS`c;;SRHY_$X^17ZG^HhN=}1?4(wBh@ K@9Wp-v;P5U)==93 diff --git a/dist/pcp/Makefile.deps b/dist/pcp/Makefile.deps index 712aae2d6a463c267c0bda801c8a2bc81fabc5a8..d08cee5a25129471e768ef950b85597385e87cc5 100644 GIT binary patch delta 41 wcmZofrX#fBK delta 41 ucmZod#%W2W#^x!81}VvD8!NrKu}W;d-u*TR09yhSn*aa+ delta 59 wcmX@Im-)zE<_W1HW@f2|rYT8@CI*Iv#%3vrCgui78!NrKu}W;d-u*TR08)k&7XSbN diff --git a/dist/playground/metrics.min.js.map b/dist/playground/metrics.min.js.map index cc08d7a430e2a3b57cdc95550a1ec1e4c693b663..f4c9c72b41f0ba8b0832ce0ad9766d918e26c8a3 100644 GIT binary patch delta 65 zcmdmKw$p4vtYn&jrIC?kqJ?ojlHeCjIF&)t-Z`! hds&VZiepo(q@y%lE|O8Ey{(7^h*`I{6|r%?0|548A143+ diff --git a/dist/playground/react-patterns.min.js.map b/dist/playground/react-patterns.min.js.map index eb0a75dfa875a23d9279c9e06f4182c15bd5e0a6..897654e76f7d4106215a9f2b4a95e763b100358b 100644 GIT binary patch delta 91 zcmcc6C3>MtbV7<`nt`Q}k!7NVaaxk8v3ZK2K}vF(y{V;{L1S%eEn{mf)7Dz%%O2v` elqu;bO@G74C_DXVDvM7022bYg8$4MS{00D0g&tx6 delta 91 zcmcc6C3>MtbV7=xnOUl#X-ZO}iGiV^u~|x@iMc_Ny|IB&T4QZ%En{mf)7Dz%%O2v` elqu;bO@G74C_DXVDvM7022bYg8$4MS{00C;-yQ`3 diff --git a/dist/playground/service.min.js.map b/dist/playground/service.min.js.map index 6467d708cb4d9452238d294dc789197adccdd2c1..851bff306d752f6a3843e02439a45a3be6b4da4a 100644 GIT binary patch delta 76 zcmX>(f$8J~rU|i9X$F=?MwW>d#%W2W#^x!81}VvD_NJC*23iy6OK+US5h8+3#bk$2 Pk;x5G+?&sa)EEN*nT8k= delta 76 zcmX>(f$8J~rU|i9W@f2|rYT8@CI*Iv#%3vrCgui7_QnQAX<8HKOK+US5h8+3#bk$2 Pk;x5G+?&sa)EEN*kqH;I diff --git a/dist/playground/speed.min.js.map b/dist/playground/speed.min.js.map index 995413a5cb5976c26d4b2beea0c66a9e0e6fb60b..eca4b89212d64ce7f3262c19e1abe36d12c90143 100644 GIT binary patch delta 77 zcmexZ^|5L~v{agbrIC?kqJ?o)#Cb9sC%)4X$EHF_M``i{ Q5t+%ZI_8^SYIg_%0QQy{NB{r; diff --git a/dist/playground/test.min.js.map b/dist/playground/test.min.js.map index 95866d0904fdd65538bc9770ab1ef53bcc575443..4b3ed54d9d8e7285f0ff218440748a886754a19f 100644 GIT binary patch delta 66 zcmcavezSZ+lvJ95rIC?kqJ?o)#CftCCkknbU{kSqyQY#5 E0Mfk_O8@`> diff --git a/dist/playground/translate.min.js.map b/dist/playground/translate.min.js.map index 900ea25a785213ff4be614f8858128804ff4ba61..77e8fc869c24844780be1cfd558cc514bc968418 100644 GIT binary patch delta 203 zcmZw9Hx7aT7zWTF_Fk}K!xaf)EKHul$-zdrfr+cb7nd&vCr)BaIEAC}H2w#0cpW#zMvb delta 203 zcmZw9ISv6~7zW_j_x-o;qh&H<_?1qfQka zMPA~zYiqr?mx1psEZcT;;4M~`zjmzo;r>=7XvXABQX}n(={jG F&krURLTLa1 diff --git a/dist/realmd/Makefile.deps b/dist/realmd/Makefile.deps index 95a1be74452471db45dde018f3b92fe394fd0ccf..86cc8445329e8bbb2d0543daeab0204178c9a208 100644 GIT binary patch delta 41 wcmeC->EW4RCTC=+U}Ruuu3%_rWol?;Xr$oo8=`AqYG9zC;TjyWF=PiT0LnTF82|tP delta 41 vcmeC->EW4RCTC!%U}Ruuu3%_rWol|=YNX)q8=`Fh1PU6VAf&by$R7$Dapo`7HQ_@h9<_TW+vvzNfs$d_DQLxMp}~>GAT4pZJo;4I+dw) zDs$^pme#4Pty9^yPGv9U6Tzl$dZ9dr$n@g7>{jhL{Omx?0mPg@%(Xp-pZnBm08_pu A-2eap delta 117 zcmdn?O>f&by$R7$=0@hG#-Cg!Q;iI(Pu_GXrr##)mXGAT4pZJo;4I+dw) zDs$^pme#4Pty9^yPGv9U6Tzl$dZ9dr$n@g7>{jhL{Omx?0mPg@%(Xp-pZnBm0LybF A2mk;8 diff --git a/dist/shell/index.min.js.map b/dist/shell/index.min.js.map index c177f01af9f7b648d221de444400759fb9593c3e..36f3de099c3f229ff5b104e5486f6db6a0038e06 100644 GIT binary patch delta 107 zcmeyrQ2+lz{Rv?rDapo`7HQ_@h9<_TW+vvzNfs$dlNnj08(Ujj8CzSKT3eZ0TUlCL oSzBA#wzjg{Nn_QqopC288*}?zId&lC0Afxc=GuN&j$3IH0Hkgs&j0`b delta 107 zcmeyrQ2+lz{Rv?r=0@hG#-Cg!Q;iI(PulNnj08(Ujj8CzSKT3eZ0TUlCL oSzBA#wzjg{Nn_QqopC288*}?zId&lC0Afxc=GuN&j$3IH07BFvO#lD@ diff --git a/dist/sosreport/Makefile.deps b/dist/sosreport/Makefile.deps index 5acc475dbb329d17b6073b49dda52aaaecefb085..200f9749c28cf1e3931f6c3674ada3c5b13d0c37 100644 GIT binary patch delta 41 wcmZ1>vO;8nrJRwaf{}rtxq_jgm8qeXp^<{SZ-}meseyrlhHG%h#_)@r0M-=>ga7~l delta 41 vcmZ1>vO;8nrJRAGf{}rtxq_jgm8q$fsgZ)aZ-}-55GZJbhB$8wzsLyy)jA4$ diff --git a/dist/sosreport/sosreport.min.js.map b/dist/sosreport/sosreport.min.js.map index cbf301234b09032f0512d03ce225d9f13ba9e962..df76dace1e53f150fa35f6ada3c3a9d6b32a36eb 100644 GIT binary patch delta 62 zcmdnGjB)ES#tCsEMkyBNX{JV&#>plY$p)rLDHe&z6Yt1xoOr<$tK8;NvjZ{!oEsGi delta 62 zcmdnGjB)ES#tCsEsYV7CsU|5YsfkHRrk2S@W|qdO6Yt1xoOr<$tK8;NvjZ{!x#tzc diff --git a/dist/ssh/Makefile.deps b/dist/ssh/Makefile.deps index 8e7edf8392b73d27fdaf8b9fb3e94573977e20e3..ef4de6990363cda8b9189a9f94b4acaca23faaa7 100644 GIT binary patch delta 41 wcmZofrX#fBK delta 41 ucmZoJ1Aq diff --git a/dist/storaged/storage.min.js.map b/dist/storaged/storage.min.js.map index d329dd456c12b9e148eda862371db22c082d77ab..d5a2ca000feecc038afbcd924e735fb7cd3b9ce6 100644 GIT binary patch delta 141 zcmdno8o9YOazeC-xlxj#rCCy1vazK>l8L2Bl7Xq&WJVT+#{SlR#@2qO)_&&JewNmL z*4BQu)_(TZeva0D&ende)_(5Rex9xUyxCb;&DgGZldqAvy+4l^i1~n+ABY8jSP+PX QfLIuaMYi|niK<)y08y1OZU6uP delta 141 zcmdno8o9YOazeC-nPsx2sfk%iT8f!@s!6J)v4KU}WJVT+#{SlR#@2qO)_&&JewNmL z*4BQu)_(TZeva0D&ende)_(5Rex9xUyxCb;&DgGZldqAvy+4l^i1~n+ABY8jSP+PX QfLIuaMYi|niK<)y0D;9a1ONa4 diff --git a/dist/storaged/test-util.min.js.map b/dist/storaged/test-util.min.js.map index aa5ef854e7267395e5b031830a099f819ccc3fde..64b6b111c773924c273b5b13cb9dd0615b2155ec 100644 GIT binary patch delta 92 zcmZ4fM`8INg$c2e=0-_|mS#z5$;OrjNhX#iNd~57_Q|HEMibx4HBM=r!q_^6sdWnT c)+sE@eu!XG-0t_21&CRJm~Fe?PxhNG0RCSg%K!iX delta 92 zcmZ4fM`8INg$c2eW|qm8rY2@7X(?vrsV1qG#s(H?_Lhmp$rInoHBM=r!q_^6sdWnT c)+sE@eu!XG-0t_21&CRJm~Fe?PxhNG03*mEk^lez diff --git a/dist/subscriptions/Makefile.deps b/dist/subscriptions/Makefile.deps index 30ba4fceca4216cdcedbee0993a1a6809bc880d4..515622ec026f589d1fe96c45616384e784c96d17 100644 GIT binary patch delta 41 wcmZ1}vr=Y)t(=jif{}rtxq_jgm8qeXp^<{SZ-}meseyrlhHG%h#^`gr0NHN}p8x;= delta 41 vcmZ1}vr=Y)t(<|Of{}rtxq_jgm8q$fsgZ)aZ-}-55GZJbhB$AGKF13H*pv#E diff --git a/dist/subscriptions/subscriptions.min.js.map b/dist/subscriptions/subscriptions.min.js.map index e5a31535febbc207882ad31df0b5caf296dcc155..586123d5c9f0a0f6666332b9a76b684951def58e 100644 GIT binary patch delta 81 zcmcaOSM1_ku?cA+$th;WW{C!-X{i<|mdR!y(rhv>qjKZi*13$WbD6fzWo9eGs;Yf^ P88Z;GY~NnSDkT8`b6^`) delta 81 zcmcaOSM1_ku?cA+hL#5AW{HW3W(G;7NoL08CdsA-lX)4H8|SvpWo(_xv~?~sTNzeW R?c2+kftY3c_A*u}2>>=G8T9}F diff --git a/dist/systemd/Makefile.deps b/dist/systemd/Makefile.deps index b853a14d68266035cac4e87f5f6e17f695da7f24..242c8aa06066a14ab9ebfe380c259e1168410a63 100644 GIT binary patch delta 41 wcmcbweP4Tmxtx)uf{}rtxq_jgm8qeXp^<{SZ-}meseyrlhHG%h#?UTN0PS}Q;Q#;t delta 41 vcmcbweP4TmxtxKaf{}rtxq_jgm8q$fsgZ)aZ-}-55GZJbhB$8w?Ggn5?3@bN diff --git a/dist/systemd/logs.min.js.map b/dist/systemd/logs.min.js.map index 522c85a2ae21578d70f58db577892e539203271c..1f0133774b1e15c66be73b5862f41e1bf97b9568 100644 GIT binary patch delta 67 zcmdnEnPcN-jtSu+X%@+5Dan?GW`?O22IdxtCTYnQlQ%MoHa2W+V0`X~RepQ56QkL6 E01E^bWdHyG delta 67 zcmdnEnPcN-jtSu+DMm)-mIh`PX^95riH2$BX$HpTlQ%MoHa2W+V0`X~RepQ56QkL6 E0PIs0i2wiq diff --git a/dist/systemd/services.min.js.map b/dist/systemd/services.min.js.map index 9de40691bda4abf0d6b32120c4444faa8471cf48..8d9d72d2e0013d9e8a653d66abda5bf50e78c2b6 100644 GIT binary patch delta 150 zcmaE}IO5IXhzZe>X%@+5Dan?GW`?O22IdxtCTYnQ_Nl2xiH#+#C5){lOsyr%ttBk2 zC9JI_Y^^2ittA|-C7i7#T&*SCttC8LOL*DXM6ek$eZfjzk?9-eGjq4EW#a{6J|N}? ZVgVo)1Y#i|76xJwAQs)emQBo_8vqsSF<1Zq delta 150 zcmaE}IO5IXhzZe>DMm)-mIh`PX^95riH2$BX$HpT_9kgYmW?H?C5){lOsyr%ttBk2 zC9JI_Y^^2ittA|-C7i7#T&*SCttC8LOL*DXM6ek$eZfjzk?9-eGjq4EW#a{6J|N}? ZVgVo)1Y#i|76xJwAQs)emQBo_8vvIBFeCr~ diff --git a/dist/systemd/system.min.js.map b/dist/systemd/system.min.js.map index df26a4b9bbc5552bd543a561a83d930a582b40b3..67e9c78c9b5860a4caad1f4c66cbdb15838602e2 100644 GIT binary patch delta 109 zcmX?c(CWlNs|k^kX%@+5Dan?GW`?O22IdxtCTYnQ_Nl2xiH$|AMU1UQOsz%Ctwk)Y qMXaqwY^_D?TZ=f`}Xy_IBFLG0KhUKC;$Ke delta 92 zcmZ3pOLfgI)d|s(DMm)-mIh`PX^95riH2$BX$HpT_9kgYmW?H?C5){lOsyr%ttBj5 cOIX!+iC|OQzJ3=g5VHX>`}Xy_IBFLG0DRFO^Z)<= diff --git a/dist/tuned/Makefile.deps b/dist/tuned/Makefile.deps index 1ffb87527cc1732a9c49e80b71ae54990edee89e..d354cc389d79456325d52362f2861a350373139a 100644 GIT binary patch delta 41 wcmZ1~uvB1zshp9ef{}rtxq_jgm8qeXp^<{SZ-}meseyrlhHG%h#^6ir0Mk(lZ2$lO delta 41 vcmZ1~uvB1zshokKf{}rtxq_jgm8q$fsgZ)aZ-}-55GZJbhB$8wzQhgy(sl}D diff --git a/dist/tuned/performance.min.js.map b/dist/tuned/performance.min.js.map index 19d97b3e3c714686b000a980215539df07bfeec6..0bc7d400d4f5c3d7a13f0b796f93946952f63e0d 100644 GIT binary patch delta 75 zcmZ3#QgHoB!3i-UMuw>d$!2MmX=a9|=4Q#p7HO$wjRma*j9Uws&Me0&J^i8}i%5IQ N3a0HTE1134006m087BY$ delta 75 zcmZ3#QgHoB!3i-U7M2Dk2BwCVCdo#oDX9h)CMG6njRma*j9Uws&Me0&J^i8}i%5IQ N3a0HTE1134004x27xe%D diff --git a/dist/users/Makefile.deps b/dist/users/Makefile.deps index dfb08d67556aab7896af05759b2ff97a80f4157a..ebe63cf34601e9e9f8f6ef309a97bcb00e2177a2 100644 GIT binary patch delta 41 wcmdlXyhC_`shp9ef{}rtxq_jgm8qeXp^<{SZ-}meseyrlhHG%h#^6*=0NGOtE&u=k delta 41 vcmdlXyhC_`shokKf{}rtxq_jgm8q$fsgZ)aZ-}-55GZJbhB$8wPUQpu*mw#h diff --git a/dist/users/users.min.js.map b/dist/users/users.min.js.map index 3c93be542955b6b8f24c5d1cc35a708ed40cda26..e3749efa75919aa4357a0bec305980fc5c694161 100644 GIT binary patch delta 81 zcmezWPW=Bn@d;rfW+{dyCdpssh_options->command); - if (rc != SSH_OK) - { - g_message ("%s: couldn't execute command: %s: %s", data->logname, - data->ssh_options->command, - ssh_get_error (data->session)); - problem = "internal-error"; - goto out; - } - g_debug ("%s: opened channel", data->logname); *out_channel = channel; @@ -2093,6 +2083,7 @@ cockpit_ssh_relay_start (CockpitSshRelay *self, gint outfd) { const gchar *problem; + int rc; static struct ssh_channel_callbacks_struct channel_cbs = { .channel_data_function = on_channel_data, @@ -2109,12 +2100,15 @@ cockpit_ssh_relay_start (CockpitSshRelay *self, problem = cockpit_ssh_connect (self->ssh_data, self->connection_string, &self->channel); if (problem) - { - self->exit_code = AUTHENTICATION_FAILED; - cockpit_relay_disconnect (self, problem); - close (outfd); - return; - } + goto out; + + self->event = ssh_event_new (); + memcpy (&self->channel_cbs, &channel_cbs, sizeof (channel_cbs)); + self->channel_cbs.userdata = self; + ssh_callbacks_init (&self->channel_cbs); + ssh_set_channel_callbacks (self->channel, &self->channel_cbs); + ssh_set_blocking (self->session, 0); + ssh_event_add_session (self->event, self->session); self->pipe = g_object_new (COCKPIT_TYPE_PIPE, "in-fd", 0, @@ -2130,15 +2124,27 @@ cockpit_ssh_relay_start (CockpitSshRelay *self, G_CALLBACK (on_pipe_close), self); - self->event = ssh_event_new (); - memcpy (&self->channel_cbs, &channel_cbs, sizeof (channel_cbs)); - self->channel_cbs.userdata = self; - ssh_callbacks_init (&self->channel_cbs); - ssh_set_channel_callbacks (self->channel, &self->channel_cbs); - ssh_set_blocking (self->session, 0); - ssh_event_add_session (self->event, self->session); + for (rc = SSH_AGAIN; rc == SSH_AGAIN; ) + rc = ssh_channel_request_exec (self->channel, self->ssh_data->ssh_options->command); + + if (rc != SSH_OK) + { + g_message ("%s: couldn't execute command: %s: %s", self->logname, + self->ssh_data->ssh_options->command, + ssh_get_error (self->session)); + problem = "internal-error"; + goto out; + } self->io = cockpit_ssh_relay_start_source (self); + +out: + if (problem) + { + self->exit_code = AUTHENTICATION_FAILED; + cockpit_relay_disconnect (self, problem); + close (outfd); + } } static void -- 2.9.4