[pkg-fso-maint] openmoko install.sh feedback
Luca Capello
luca at pca.it
Wed Aug 20 16:53:15 UTC 2008
Hi Timo!
Keep going me, I really appreciate :-)
On Wed, 20 Aug 2008 16:40:39 +0200, Timo Juhani Lindfors wrote:
> Joachim Breitner <nomeata at debian.org> writes:
>>> 2) After installation I saw ssh-agent running, maybe this could be
>>> disabled by default to save memory by removing "use-ssh-agent"
>>> from /etc/X11/Xsession.options?
>>
>> Good point, patch welcome.
>
> --- install.sh.orig 2008-08-20 17:15:48.000000000 +0300
> +++ install.sh 2008-08-20 17:17:15.000000000 +0300
> @@ -531,6 +531,9 @@
> cat >$INST_DIR$WPA_SUPPLICANT_CONF <$WPA_SUPPLICANT_CONF
> fi
>
> +echo " * Disabling startup of ssh-agent"
> +sed -i 's/^use-ssh-agent/#disabled by install.sh# use-ssh-agent/' $INST_DIR/etc/X11/Xsession.options
> +
> echo "I: System configured"
> ;;
>
>
> is my first guess. I verified that sed of busybox supports -i but I
> did not test this on non-debian systems yet.
To remove any doubt we can launch the command into the chroot with
echo " * Disabling startup of ssh-agent"
chroot $INST_DIR sed -i [...]
However, I'd wait until bug #495795 [1] has been solved: if dropbear
would provide an scp client openssh-client won't be installed anymore,
which means that ssh-agent won't be present at all.
And then this would be a tip: if the user prefers openssh-client, he
should know how to disable ssh-agent ;-)
>> We need openssh-client only for scp, but unfortunately dropbear does not
>> seem to provide an scp binary.
>
> Very unfortunate. Do I read the manual page correctly in that it
> doesn't support remote command execution at all so that I can't do
>
> ssh foo 'cat > bar' < bar
>
> either?
This problem is not related to openssh-client, but to dropbear instead.
However, which manual page have you read? Both dropbear and dbclient
support remote command execution [2]:
=====
luca at gismo:~$ ssh root at 192.168.0.202 cat /etc/hostname
root at 192.168.0.202's password:
om-gta02
luca at gismo:~$
=====
root at om-gta02:~# dbclient root at 192.168.0.200 cat /etc/hostname
root at 192.168.0.200's password:
gismo.pca.it
root at om-gta02:~#
=====
> Also, openssh-client support compression which is very nice with GPRS
> (ppp compression obviously does not help with encrypted traffic).
Again, I think we need test cases, since according to the dropbear
CHANGES [3], dbclient support zlib compression since version 0.47 (never
tested, I always use openssh-client).
Thx, bye,
Gismo / Luca
Footnotes:
[1] http://bugs.debian.org/495795
[2] tested to/from a Om_2007.2 image and to/from Debian
[3] http://matt.ucc.asn.au/dropbear/CHANGES
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20080820/b87c1b50/attachment.pgp
More information about the pkg-fso-maint
mailing list