LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-29-2010, 07:12 AM   #1
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 445

Rep: Reputation: 18
dropbear dbclient dropbearkey dropbearconvert scp does not work on arm9


hello
I compiled dropbear with arm-linux-gcc version:
Quote:
arm-linux-gcc -v
Using built-in specs.
Target: arm-none-linux-gnueabi
Configured with: /scratch/julian/lite-respin/linux/src/gcc-4.3/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-none-linux-gnueabi --enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --enable-shared --enable-symvers=gnu --enable-__cxa_atexit --with-pkgversion='Sourcery G++ Lite 2008q3-72' --with-bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls --prefix=/opt/codesourcery --with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc --with-build-sysroot=/scratch/julian/lite-respin/linux/install/arm-none-linux-gnueabi/libc --with-gmp=/scratch/julian/lite-respin/linux/obj/host-libs-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --with-mpfr=/scratch/julian/lite-respin/linux/obj/host-libs-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --disable-libgomp --enable-poison-system-directories --with-build-time-tools=/scratch/julian/lite-respin/linux/install/arm-none-linux-gnueabi/bin --with-build-time-tools=/scratch/julian/lite-respin/linux/install/arm-none-linux-gnueabi/bin
Thread model: posix
gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72)
with these options:
Quote:
CC=arm-linux-gcc ./configure --prefix=/root/armssh --host=arm --disable-syslog --disable-lastlog --disable-openpty
make PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"
make PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" install
and it compiled fine.
but when I loaded it into my arm9 i got this for dropbear command:
Quote:
[root@FriendlyARM /]# dropbear -F -E
[791] Aug 25 12:05:44 Failed reading '/etc/dropbear/dropbear_rsa_host_key', disabling RSA
[791] Aug 25 12:05:44 Failed reading '/etc/dropbear/dropbear_dss_host_key', disabling DSS
[791] Aug 25 12:05:44 premature exit: No hostkeys available
and when I run dropbearkey I got this:
Quote:
[root@FriendlyARM /]# dropbearkey -t dss -f dropbear_dss_host_key
Will output 1024 bit dss secret key to 'dropbear_dss_host_key'
Generating key, this may take a while...
or
Quote:
[root@FriendlyARM /]# dropbearkey -t rsa -s 1024 -f dropbear_rsa_host_key
Will output 1024 bit rsa secret key to 'dropbear_rsa_host_key'
Generating key, this may take a while...
and nothing else happend and no rsa or dsa key made.

so I started running them in back ground because I thought it may took long time maybe 10 minutes so:
Quote:
[root@FriendlyARM /]# dropbearkey -t dss -f dropbear_dss_host_key &
Will output 1024 bit dss secret key to 'dropbear_dss_host_key'
Generating key, this may take a while...
[root@FriendlyARM /]# dropbearkey -t rsa -s 1024 -f dropbear_rsa_host_key &
Will output 1024 bit rsa secret key to 'dropbear_rsa_host_key'
Generating key, this may take a while...

[root@FriendlyARM /]# ps
PID USER VSZ STAT COMMAND
1 root 3104 S init
2 root 0 SW< [kthreadd]
3 root 0 SW< [ksoftirqd/0]
4 root 0 SW< [events/0]
5 root 0 SW< [khelper]
140 root 0 SW< [kblockd/0]
150 root 0 SW< [khubd]
154 root 0 SW< [kmmcd]
178 root 0 SW [pdflush]
179 root 0 SW [pdflush]
180 root 0 SW< [kswapd0]
227 root 0 SW< [aio/0]
231 root 0 SW< [nfsiod]
371 root 0 SW< [mtdblockd]
452 root 0 SW< [rpciod/0]
463 root 0 SW< [scsi_eh_0]
496 root 3104 S syslogd
499 root 3364 S /usr/sbin/inetd
511 root 1952 S /usr/sbin/boa
535 root 3428 S -/bin/sh
537 root 3104 S init
540 root 3104 S init
543 root 3104 S init
694 root 3428 S sh
795 root 0 SW< [mmcqd]
847 root 1876 S dropbearkey -t rsa -s 1024 -f dropbear_rsa_host_key
848 root 1876 S dropbearkey -t dss -f dropbear_dss_host_key
849 root 3428 R ps
but nothing happened fro more that 10 minutes.
my arm info is:
Quote:
[root@FriendlyARM /]# cat /proc/cpuinfo
Processor : ARM920T rev 0 (v4l)
BogoMIPS : 201.93
Features : swp half
CPU implementer : 0x41
CPU architecture: 4T
CPU variant : 0x1
CPU part : 0x920
CPU revision : 0

Hardware : FriendlyARM Mini2440 development board
Revision : 0000
Serial : 0000000000000000
[root@FriendlyARM /]# uname -a
Linux FriendlyARM 2.6.29.4-FriendlyARM #4 Wed Jul 8 18:20:04 CST 2009 armv4tl unknown
what do I miss ?

Thank you for any help.
 
Old 01-10-2011, 04:30 AM   #2
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 445

Original Poster
Rep: Reputation: 18
Any body can help me?It is going to become an old post.
 
Old 01-25-2011, 07:26 AM   #3
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 445

Original Poster
Rep: Reputation: 18
over 200 visitor an nobody get a suggestion . I really need help on this. do I miss any info on this post?
 
Old 02-07-2011, 05:32 AM   #4
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 445

Original Poster
Rep: Reputation: 18
some body please help
 
Old 03-29-2011, 03:23 PM   #5
td242203
LQ Newbie
 
Registered: Mar 2011
Posts: 1

Rep: Reputation: 0
FriendlyARM Mini2440 dropbear

Hello,

I ran into that same problem today. Did you find a fix for this?

Quote:
[root@FriendlyARM /]# dropbearkey -t dss -f dropbear_dss_host_key
Will output 1024 bit dss secret key to 'dropbear_dss_host_key'
Generating key, this may take a while...
Illegal Instruction

Last edited by td242203; 03-29-2011 at 03:25 PM.
 
Old 03-31-2011, 08:19 AM   #6
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 445

Original Poster
Rep: Reputation: 18
unfortunately not yet but I did not work on any more
 
Old 04-22-2011, 09:20 AM   #7
EmilDelic
LQ Newbie
 
Registered: Apr 2011
Posts: 1

Rep: Reputation: 0
Hello guys,

Navigate to install directory and type down:

./dropbearkey -t dss -f dropbear_dss_host_key
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dropbear ajink Linux - Newbie 8 05-17-2010 01:04 PM
scp does not work and gives the following error message: scp: FATAL: Executing ssh1 i akay Linux - Networking 16 09-28-2008 11:41 PM
scp does not work with cron jobs yogendrarawat Linux - Newbie 2 09-15-2005 02:34 AM
dropbear ssh with floppyfw rocordial Linux - Networking 1 07-04-2004 08:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration