Need SCP Client support with dropbear V0.48

Tim Broberg Tim.Broberg at servicenow.com
Sun Jun 8 14:20:33 WST 2014


Does pratik have write permission in the /bin directory on 11.201.24.36?

Usually, you need elevated privileges to write to /bin.

Does scp to your home directory work? If so, it's a general *nix issue you're facing, not scp.

    - Tim.

From: pratik singh <pratiksingh86 at gmail.com<mailto:pratiksingh86 at gmail.com>>
Date: Saturday, June 7, 2014 3:47 AM
To: "dropbear at ucc.asn.au<mailto:dropbear at ucc.asn.au>" <dropbear at ucc.asn.au<mailto:dropbear at ucc.asn.au>>
Subject: Re: Need SCP Client support with dropbear V0.48


Hi,

While doing SCP I am getting the follwoing write error:


# scp pratik at 11.201.24.36<mailto:pratik at 11.201.24.36>:/homes/pratik/test.txt .

Host ' <pratiks at 10.209.164.31:22<https://urldefense.proofpoint.com/v1/url?u=http://pratiks%4010.209.164.31:22&k=vE6vJ%2F6us6MO2E%2BCdRJaLw%3D%3D%0A&r=CFOVYS%2Bpq34MoQdIh9mGy2v3juvm16uSvL2B2p9WKsQ%3D%0A&m=YfXV38WQiym2I%2FM65sVxYypi8SWzsQlfVcm8AXaIpww%3D%0A&s=442a75711e40fd719382c49ba3df27b4736ba42b82d80879729cb78511265bc4>>11.201.24.36>' is not in the trusted hosts file.

(fingerprint md5 aa:c4:3e:32:ac:42:5b:21:0e:86:7d:b2:21:db:fb:1c)

Do you want to continue connecting? (y/n)

y

/bin/dbclient: connection to  pratik at 11.201.24.36:22<https://urldefense.proofpoint.com/v1/url?u=http://pratik%4011.201.24.36:22&k=vE6vJ%2F6us6MO2E%2BCdRJaLw%3D%3D%0A&r=CFOVYS%2Bpq34MoQdIh9mGy2v3juvm16uSvL2B2p9WKsQ%3D%0A&m=YfXV38WQiym2I%2FM65sVxYypi8SWzsQlfVcm8AXaIpww%3D%0A&s=e10394a733fc6d12a2d70ce248add639f4711430d678435f09fd5a963d7486de> exited: error writing

I am not sure why this error is coming. Request you to help me out regarding this issue. Appreciate your reply.

Thanks
Pratik


On Thu, Jun 5, 2014 at 4:04 PM, pratik singh <pratiksingh86 at gmail.com<mailto:pratiksingh86 at gmail.com>> wrote:
Hi,

I have changed the path to create ".ssh" and now its created successfully but while doing scp I am getting the following error:


# scp pratik at 11.201.24.36:/homes/pratik/test.txt<mailto:pratiks at 10.209.164.31:/build/homes/pratiks/test_arrow.txt> .

Host '<mailto:pratiks at 10.209.164.31:22>11.201.24.36<mailto:pratiks at 10.209.164.31:/build/homes/pratiks/test_arrow.txt>' is not in the trusted hosts file.
(fingerprint md5 aa:c4:3e:32:ac:42:5b:21:0e:86:7d:b2:21:db:fb:1c)
Do you want to continue connecting? (y/n)
y
/bin/dbclient: connection to <mailto:pratiks at 10.209.164.31:22> pratik at 11.201.24.36<mailto:pratiks at 10.209.164.31:/build/homes/pratiks/test_arrow.txt>:22 exited: error writing

Please share your inputs.
Thanks
Pratik



On Thu, Jun 5, 2014 at 12:32 PM, pratik singh <pratiksingh86 at gmail.com<mailto:pratiksingh86 at gmail.com>> wrote:
Hi,

Thanks for the reply.

I tried with scp and its throwing the following error:

# scp pratik at 11.201.24.36:/homes/pratik/test.txt<mailto:pratiks at 10.209.164.31:/build/homes/pratiks/test_arrow.txt> .
WARNING: Ignoring unknown argument '-x'
WARNING: Ignoring unknown argument '-oForwardAgent no'
WARNING: Ignoring unknown argument '-oPermitLocalCommand no'
WARNING: Ignoring unknown argument '-oClearAllForwardings yes'
/bin/dbclient: Warning: failed creating ~/.ssh: Read-only file system

Host '11.201.24.36<mailto:pratiks at 10.209.164.31:/build/homes/pratiks/test_arrow.txt>' is not in the trusted hosts file.
(fingerprint md5 aa:c4:3e:32:ac:42:5b:21:0e:86:7d:b2:21:db:fb:1c)
Do you want to continue connecting? (y/n)
y
Password:
/bin/dbclient: connection to pratik@<mailto:pratiks at 10.209.164.31:22><mailto:pratiks at 10.209.164.31:22>11.201.24.36<mailto:pratiks at 10.209.164.31:/build/homes/pratiks/test_arrow.txt> exited: remote closed the connection

Could you please help me out regarding this. Appreciate your reply.

Thanks
Pratik


On Wed, Jun 4, 2014 at 7:16 PM, Matt Johnston <matt at ucc.asn.au<mailto:matt at ucc.asn.au>> wrote:
On Wed, Jun 04, 2014 at 01:19:33PM +0530, pratik singh wrote:
> Hi All,
>
> I am running the default dropbear (version 0.48) found in the
> uClinux-dist distribution with my microblaze as the processor. I want
> to use scp with dropbear. Please let me know how can i achieve this?

You should be able to build scp as part of Dropbear with

make PROGRAMS="dropbear dbclient scp"

Cheers,
Matt



--
Thanks & Regards
Pratik Singh



--
Thanks & Regards
Pratik Singh



--
Thanks & Regards
Pratik Singh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20140608/9da4b876/attachment.htm 


More information about the Dropbear mailing list