ts-7000
[Top] [All Lists]

[ts-7000] Re: scp command

To:
Subject: [ts-7000] Re: scp command
From: "ronmuzzi" <>
Date: Wed, 30 Apr 2008 17:11:25 -0000
I've installed both ssh and scp to a ts-7260 board.  (Note that scp
requires ssh.)  This provides an ssh client and an scp client and
server for the board.

First, you need to enable ssh by running this command on the ts board
if you have not already done so:

    $ dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key

Then you need to install some arm packages using a host machine.  I
use Debian, but other packages are available from other sources.

>From the host machine, download libssl0.9.7 from a mirror here:

    http://packages.debian.org/sarge/arm/libssl0.9.7/download

Extract the binary file:

    $ mkdir libssl
    $ cd libssl
    $ ar xv ../libssl0.9.7_0.9.7e-3sarge5_arm.deb
    $ tar xzvf data.tar.gz

Copy only the binary library to the ts board as follows:

    $ cat usr/lib/libcrypto.so.0.9.7 | ssh  "cat >
/lib/libcrypto.so.0.9.7"

Use the same process for zlib1g:

    http://packages.debian.org/sarge/arm/zlib1g/download

    $ cat usr/lib/libz.so.1.2.2 | ssh  "cat >
/lib/libz.so.1.2.2"    

And also for ssh:

    http://packages.debian.org/sarge/arm/ssh/download

    $ cat usr/bin/ssh | ssh  "cat > /usr/bin/ssh"
    $ cat usr/bin/scp | ssh  "cat > /usr/bin/scp"


On the ts board, execute the following:

    $ cd /lib
    $ ln -s libz.so.1.2.2 libz.so.1
    $ ln -s libz.so.1.2.2 libz.so
    $ ln -s libcrypto.so.0.9.6 libcrypto.so.0
    $ ln -s libcrypto.so.0.9.6 libcrypto.so

    $ cd /usr/bin
    $ chmod +x ssh
    $ chmod +x scp

You should now have a working ssh client and a working scp client and
server!

Ron

--- In  Jim Jackson <> wrote:
>
> 
> I've already answered this question. I append the previous answer below.
> 
> On Sun, 3 Feb 2008, Syedsmt wrote:
> 
> > I'm new user for ts 7200.Just went to ask,when I use secure copy
to the 7200. It show
> >
> > scp test.c root@:/home/user/
> >  password:
> > sh:scp: not found
> >
> > Do you know what wrong with secure copy function. I already
actived the dropbear for ssh function. Or the are any manual for this
for the SCP function for the 7200
> >
> 
> Date: Sun, 3 Feb 2008 13:31:47 +0000 (GMT)
> From: Jim Jackson <>
> To: 
> Subject: Re: [ts-7000] Re: How activate ssh in 7200
> 
> 
> On Sat, 2 Feb 2008, Syedsmt wrote:
> 
> > Thank for the help..now I can use the ssh function to the 7200.
when I use
> > secure copy to the 7200. It show
> >
> > scp test.c :/home/user/
> >  password:
> > sh:scp: not found
> >
> > Do you know what wrong with secure copy function
> 
> It might not be compiled in. I seem to remember that the dropbear
provided
> by TS in their default TSLinux image did not support the scp copy 
> function.
> 
> How ever, it can be done by
> 
>   cat test.c | ssh 10.10.1.4 "cd /home/user ; cat > test.c"
> 
> There is always more than one way to skin a cat :-)
>



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] Re: scp command, ronmuzzi <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU