1 |
On Thursday 28 September 2006 15:48, "Mark Haney" <mhaney@××××××××××××.org> |
2 |
wrote about 'Re: [gentoo-amd64] Strange ssh behaviour': |
3 |
> Boyd Stephen Smith Jr. wrote: |
4 |
> > On Thursday 28 September 2006 10:52, "Mark Haney" |
5 |
> > <mhaney@××××××××××××.org> |
6 |
> > wrote about '[gentoo-amd64] Strange ssh behaviour': |
7 |
> >> [N]ow, when I ssh into the box, I |
8 |
> >> get no output from any commands. su,ls,cat all just return to the |
9 |
> >> prompt without showing me any output. |
10 |
> > Try running strace on a command on the remote side -- see if that |
11 |
> > indicates anything. |
12 |
> I'm curious as to how to do that if no commands run from inside that |
13 |
> session? |
14 |
|
15 |
Well, you say the commands run, they just don't produce any output. I'm |
16 |
hoping strace will be different (although, that is a bit unlikely). |
17 |
|
18 |
In any case, it looks like your shell is have problems exec()-ing commands |
19 |
while env and echo are probably built-ins. |
20 |
|
21 |
Perhaps your nproc ulimit is to low... or maybe it's something entirely |
22 |
different. |
23 |
|
24 |
Try: |
25 |
ssh host strace ls |
26 |
ssh host exec ls |
27 |
ssh host exec strace ls |
28 |
|
29 |
And see which ones produce output and how the outputs differ. With the |
30 |
outputs if you need any more assistance. |
31 |
|
32 |
-- |
33 |
"If there's one thing we've established over the years, |
34 |
it's that the vast majority of our users don't have the slightest |
35 |
clue what's best for them in terms of package stability." |
36 |
-- Gentoo Developer Ciaran McCreesh |