Re: Another variant of "ssh" working interactively, but "ssh cmd" and "scp" failing
- From: "Richard E. Silverman" <res@xxxxxxxx>
- Date: 28 Feb 2006 09:17:04 -0500
hello, world\n
I've read the SSH and OpenSSH FAQ (motd/.profile issue), googled left
and right and still could not find a solution to the problem. I've got
an embedded box named FOO running OpenSSH_3.7.1p1 on Linux 2.4 on
PowerPC, the shell is a busybox, but using bash does not change
anything. No PAM. This is the situation:
ssh root@FOO -- works
ssh root@FOO ls -- fails, no output, no matter what command is given
scp file root@FOO: -- fails, "lost connection"
Are you sure you effectively tried it with bash? This would be the most
logical explanation, since sshd uses "$SHELL -c ..." to execute remote
commands, and I find this:
syrinx:~% busybox -c /bin/ls
c: applet not found
--
Richard Silverman
res@xxxxxxxx
.
- Follow-Ups:
- Re: Another variant of "ssh" working interactively, but "ssh cmd" and "scp" failing
- From: Jens Schweikhardt
- Re: Another variant of "ssh" working interactively, but "ssh cmd" and "scp" failing
- References:
- Another variant of "ssh" working interactively, but "ssh cmd" and "scp" failing
- From: Jens Schweikhardt
- Another variant of "ssh" working interactively, but "ssh cmd" and "scp" failing
- Prev by Date: Re: Unable to ssh w/out password
- Next by Date: Re: scp (4.3p2) no longer allows a space in the userid.
- Previous by thread: Another variant of "ssh" working interactively, but "ssh cmd" and "scp" failing
- Next by thread: Re: Another variant of "ssh" working interactively, but "ssh cmd" and "scp" failing
- Index(es):
Relevant Pages
|
|