# SliTaz package receipt. PACKED_SIZE="12.0K" UNPACKED_SIZE="16.0K" PACKAGE="fbvnc-ssh" VERSION="1.0" CATEGORY="network" SHORT_DESC="VNC client in frame buffer within a SSH tunnel." MAINTAINER="pascal.bellard@slitaz.org" WEB_SITE="http://tiny.slitaz.org/" DEPENDS="base-tiny fbvnc dropbear" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin } config_form() { [ "$VNCONLY" == "no" ] || VNCONLY=yes [ -n "$VNCUSER" ] || VNCUSER=tux cat < SSH user for the VNC server Remove virtual consoles ? keep virtual consoles 3 to 6 keep VNC console only

You should add the public key in \$HOME/.ssh/authorized_keys of the VNC/SSH server.

You can get it on the client (from configuration files) with:

# dropbearkey -y -f /etc/dropbear/dropbear_dss_host_key | grep ^ssh
EOT false && if [ -s $1/etc/dropbear/dropbear_dss_host_key ]; then echo -e "

The DSS public key is

\n

"
		dropbearkey -y -f $1/etc/dropbear/dropbear_dss_host_key 2>/dev/null | grep ^ssh
		echo "
" fi cat < # dropbearkey -y -f /etc/dropbear/dropbear_rsa_host_key | grep ^ssh EOT false && if [ -s $1/etc/dropbear/dropbear_rsa_host_key ]; then echo -e "

The RSA public key is

\n

"
		dropbearkey -y -f $1/etc/dropbear/dropbear_rsa_host_key 2>/dev/null | grep ^ssh
		echo "
" fi } post_install() { sed -i 's/\(fbvnc -bpp [0-9]*\) \([^|]*\)/\1 127.0.0.1 5900/;/kill -1 1/d' $1/etc/init.d/local.sh cat >> $1/etc/init.d/local.sh <> $1/etc/init.d/local.sh <> $1/etc/init.d/local.sh <