You're right, I wasn't clear on what I was asking.

I have the sshd, ssh and ssh_keygen binaries in the /bin directory on my
target.
I've added the line "/bin/sshd" to my /etc/rc file.
The contents of my '/etc/ssh/sshd_config were copied from a website that had
a basic file.

I think I have most of the pieces in place and it's my understanding that I
need to set up the accounts.  I'm trying to find a website that has a
procedure on how to do that.

If anyone could provide a pointer to a procedure, I'd really appreciate it.



On Wed, Aug 12, 2009 at 2:49 PM, Microbit_Ubuntu <
[email protected]> wrote:

> Hi,
>
> On Wed, 2009-08-12 at 09:47 -0400, b2112 wrote:
> > Thank you very much for the help and I was able to get the binary to
> > build with the applied patches.
> >
> > Now I'm trying to run the application on the target.
> >
> > Using make menuconfig,  I selected "sshd" in the networking
> > applications option.  I wasn't sure if I needed to select anything
> > else, but I have the sshd binary in my /bin directory.
> >
> > I'm trying to find the documentation that explains how to configure
> > and run it.  I've been searching the web and I haven't been successful
> > yet.
> >
> >
> >
> >
> > On Tue, Aug 11, 2009 at 7:17 PM, David McCullough
> > <[email protected]> wrote:
> >
> >         Jivin b2112 lays it down ...
> >         > I'm using the uClinux 2.4 kernel with a Coldfire MC5275 and
> >         I'm trying to
> >         > build in the sshd application and I'm getting a build
> >         failure.  I used make
> >         > menuconfig and selected sshd under the networking
> >         applications option.
> >         >
> >         > In the build process I'm getting the following error;
> >         >
> >         > Has anyone been successful in getting sshd to build?  I'm
> >         wondering if I'm
> >         > missing something or if there is a patch available.
> >         >
> >         > Any help is greatly appreciated.
> >
> >
> >         You don't appear to have the openssl lib build enabled (or
> >         perhaps not
> >         included depending on your version of the dist).
> >
> >         Which uClinux-dist version do you have ?
> >
> >         Check that CONFIG_LIB_LIBSSL is enabled in your config/.config
> >
> >         Check you have libssl or a smart makefile in lib/libssl
> >
> >         You can get patches to add openssl back into an older dist
> >         from
> >         http://ftp.snapgear.org/pub/patches/ , newer dists should have
> >         patches and
> >         download scripts within the makefile to do it for you,
> >
> >         Cheers,
> >         Davidm
> >
> >
> >
> >
> >
> >         >
> >
> --------------------------------------------------------------------------------------------------------------
> >         >
> >         > make[2]: Entering directory `/home/uClinux-dist/user/sh'
> >         > make[2]: Nothing to be done for `all'.
> >         > make[2]: Leaving directory `/home/uClinux-dist/user/sh'
> >         > make[2]: Entering directory `/home/uClinux-dist/user/ssh'
> >         > (cd openbsd-compat && make)
> >         > make[3]: Entering directory
> >         `/home/uClinux-dist/user/ssh/openbsd-compat'
> >         > ucfront-gcc m68k-elf-gcc -m5200 -DCONFIG_COLDFIRE -Os -g
> >         > -fomit-frame-pointer -fno-common -fno-builtin -Wall
> >         -DEMBED -msep-data
> >         > -Dlinux -D__linux__ -Dunix -D__uClinux__ -g -O2 -Wall
> >         > -D_SSH_PROGRAM=\"/bin/ssh\" -DSSH_ASKPASS_DEFAULT=
> >         \"/bin/ssh-askpass\" -I.
> >         > -DHAVE_CONFIG_H -I. -I..    -c -o bsd-arc4random.o
> >         bsd-arc4random.c
> >         > In file included from bsd-arc4random.c:25:
> >         > ../includes.h:168: openssl/opensslv.h: No such file or
> >         directory
> >         > bsd-arc4random.c:32: openssl/rand.h: No such file or
> >         directory
> >         > bsd-arc4random.c:33: openssl/rc4.h: No such file or
> >         directory
> >         > bsd-arc4random.c:34: openssl/err.h: No such file or
> >         directory
> >         > make[3]: *** [bsd-arc4random.o] Error 1
> >         > make[3]: Leaving directory
> >         `/home/uClinux-dist/user/ssh/openbsd-compat'
> >         > make[2]: *** [subdirs] Error 2
> >         > make[2]: Leaving directory `/home/uClinux-dist/user/ssh'
> >         > make[1]: *** [all] Error 2
> >         > make[1]: Leaving directory `/home/uClinux-dist/user'
> >         > make: *** [subdirs] Error 1
> >
> >
> >         > _______________________________________________
> >         > uClinux-dev mailing list
> >         > [email protected]
> >         > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> >         > This message was resent by [email protected]
> >         > To unsubscribe see:
> >         > http://mailman.uclinux.org/mailman/options/uclinux-dev
> >
> >         --
> >         David McCullough,  [email protected],  Ph:
> >         +61 734352815
> >         McAfee - SnapGear  http://www.snapgear.com
> >          http://www.uCdot.org
> >         _______________________________________________
> >         uClinux-dev mailing list
> >         [email protected]
> >         http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> >         This message was resent by [email protected]
> >         To unsubscribe see:
> >         http://mailman.uclinux.org/mailman/options/uclinux-dev
> >
> > _______________________________________________
> > uClinux-dev mailing list
> > [email protected]
> > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> > This message was resent by [email protected]
> > To unsubscribe see:
> > http://mailman.uclinux.org/mailman/options/uclinux-dev
>
>
>
>
> > I'm trying to find the documentation that explains how to configure and
> run it.
> > I've been searching the web and I haven't been successful yet.
>
>
> Do you mean how to use the sshd daemon ? Or how to configure so the service
> is running ?
> "man sshd" already explains most details.
> Or did you perhaps mean how to set up the authorized_keys and known_hosts
> files ?
>
> In any case, a simple "ssh localhost" from your prompt will readily test if
> your daemon
> is running properly.
>
> --
> Best regards,
> Kris
>
>
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected]
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
>
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to