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 <[email protected]<mailto:[email protected]>>
Date: Saturday, June 7, 2014 3:47 AM
To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Subject: Re: Need SCP Client support with dropbear V0.48
Hi,
While doing SCP I am getting the follwoing write error:
# scp [email protected]<mailto:[email protected]>:/homes/pratik/test.txt .
Host '
<[email protected]: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
[email protected]: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
<[email protected]<mailto:[email protected]>> 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
[email protected]:/homes/pratik/test.txt<mailto:[email protected]:/build/homes/pratiks/test_arrow.txt>
.
Host
'<mailto:[email protected]:22>11.201.24.36<mailto:[email protected]:/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:[email protected]:22>
[email protected]<mailto:[email protected]:/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
<[email protected]<mailto:[email protected]>> wrote:
Hi,
Thanks for the reply.
I tried with scp and its throwing the following error:
# scp
[email protected]:/homes/pratik/test.txt<mailto:[email protected]:/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:[email protected]:/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:[email protected]:22><mailto:[email protected]:22>11.201.24.36<mailto:[email protected]:/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
<[email protected]<mailto:[email protected]>> 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