Artifact
2e43c4e17d6b2a90b598f05a6f4ba8ef1dc891c3:
Ticket change
[2e43c4e17d]
- New ticket [40d9dbd3ad]
ssh scheme incompatible with tcsh.
by
anonymous
2011-03-13 19:25:00.
D 2011-03-13T19:25:00.989
J comment It\slooks\slike\sfossil\sis\srelying\son\ssome\ssh(1)\sor\sbash(1)\sspecific\ssemantic\swhen\sit\scomes\sto\ssyncing\svia\sssh.\sMaybe\susing\ssomething\slike:\r\n\r\n<verbatim>/bin/sh\s-c\s'exec\s/path/to/fossil'</verbatim>\r\n\r\nor\sthreads?\s\sHere's\swhat's\scurrently\shappening\swith\stcsh:\r\n\r\n<verbatim>%\sfs\sremote-url\s'ssh://usr@remote-host.example.com:4321/src/.fossils/proj.fossil?fossil=/usr/local/bin/fossil'\r\npassword\sfor\susr:\s\r\nssh://usr:*@remote-url.example.com:4321/src/.fossils/proj.fossil?fossil=/usr/local/bin/fossil\r\n%\sfs\spull\r\nServer:\s\s\s\sssh://usr@remote-host.example.com:4321/src/.fossils/proj.fossil?fossil=/usr/local/bin/fossil\r\nssh\s-p\s22\s-t\s-e\snone\s-p\s4321\susr@remote-url.example.com\r\nPseudo-terminal\swill\snot\sbe\sallocated\sbecause\sstdin\sis\snot\sa\sterminal.\r\nfossil:\sssh\sconnection\sfailed:\s[Warning:\sno\saccess\sto\stty\s(Bad\sfile\sdescriptor).\r\nThus\sno\sjob\scontrol\sin\sthis\sshell.]\r\nKilled\sby\ssignal\s2.\r\nExit\s1\r\n%\sfs\sset\sssh-command\s'ssh\s-p\s4321\s-T\s-e\snone'\r\n%\sfs\spull\r\nServer:\s\s\s\sssh://usr@remote-host.example.com:4321/src/.fossils/proj.fossil?fossil=/usr/local/bin/fossil\r\nssh\s-p\s22\s-T\s-e\snone\s-p\s4321\susr@remote-url.example.com\r\nfossil:\sssh\sconnection\sfailed:\s[Warning:\sno\saccess\sto\stty\s(Bad\sfile\sdescriptor).]\r\nKilled\sby\ssignal\s2.\r\nExit\s1\r\n%\sfs\sset\sssh-command\r\nssh-command\s\s\s\s\s\s\s\s\s\s(local)\s\sssh\s-p\s4321\s-T\s-e\snone\r\n%\sfs\ssync\r\nServer:\s\s\s\sssh://remote-host.example.com/src/.fossils/project.fossil\r\nssh\s-p\s22\s-T\s-e\snone\s-p\s4321\sremote-host.example.com\r\nfossil:\sssh\sconnection\sfailed:\s[Warning:\sno\saccess\sto\stty\s(Bad\sfile\sdescriptor).\r\nThus\sno\sjob\scontrol\sin\sthis\sshell.]\r\nKilled\sby\ssignal\s2.\r\nExit\s1</verbatim>\r\n\r\nBoth\sclient\sand\sserver\sare\srunning\sthe\ssame\sversion\sof\sfossil.\s\sWhen\sI\schange\sthe\sshell\sto\ssh,\sI\sget\sthe\sfollowing\soutput:\r\n\r\n<verbatim>%\sfs\ssync\r\nServer:\s\s\s\sssh://usr@remote-host.example.com:4321/src/.fossils/proj.fossil\r\nssh\s-p\s22\s-T\s-e\snone\s-p\s4321\sremote-host.example.com\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sBytes\s\s\s\s\s\sCards\s\sArtifacts\s\s\s\s\sDeltas\r\nSent:\s\s\s\s\s\s\s\s\s\s\s\s4005\s\s\s\s\s\s\s\s\s85\s\s\s\s\s\s\s\s\s\s0\s\s\s\s\s\s\s\s\s\s0\r\nfossil:\sserver\ssays:\s501\sNot\sImplemented\r\nTotal\snetwork\straffic:\s2341\sbytes\ssent,\s0\sbytes\sreceived\r\nClosing\sSSH\stunnel:\sKilled\sby\ssignal\s2.</verbatim>\r\n\r\nWhen\sI\ssync\svia\shttp\sover\san\sssh\stunnel,\sthings\swork\sjust\sfine:\r\n\r\n<verbatim>%\sfs\sremote-url\shttp://usr@127.0.0.1:9099/\r\npassword\sfor\susr:\r\nhttp://usr@127.0.0.1:9099/\r\n%\sfs\ssync\r\nServer:\s\s\s\shttp://usr@127.0.0.1:9099/\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sBytes\s\s\s\s\s\sCards\s\sArtifacts\s\s\s\s\sDeltas\r\nSent:\s\s\s\s\s\s\s\s\s\s\s\s4005\s\s\s\s\s\s\s\s\s85\s\s\s\s\s\s\s\s\s\s0\s\s\s\s\s\s\s\s\s\s0\r\nReceived:\s\s\s\s\s\s\s\s3820\s\s\s\s\s\s\s\s\s83\s\s\s\s\s\s\s\s\s\s0\s\s\s\s\s\s\s\s\s\s0\r\nTotal\snetwork\straffic:\s2368\sbytes\ssent,\s1275\sbytes\sreceived</verbatim>
J foundin cdc4249268
J private_contact 84f59114b7eee7088fd7e2932599c69c9ad0761b
J severity Minor
J status Open
J title ssh\sscheme\sincompatible\swith\stcsh
J type Code_Defect
K 40d9dbd3ade39488a6786cd4588c0915974a9961
U anonymous
Z a4335c919f1fd4d2990425daf8fae2a5