Regarding dbclient failure

pratik singh pratiksingh86 at gmail.com
Tue Aug 12 23:00:40 WST 2014


Hi Matt,

I tried the following:

#read testvar /dev/tty
abcdefg

#echo $testvar
abcdefg

I am getting shell (/bin/sh) through telnet on ethernet interface ip.

My main goal is to run scp but as scp usages dbclient, its also getting
failed.

Best Regards
Pratik


On Tue, Aug 12, 2014 at 7:23 PM, Matt Johnston <matt at ucc.asn.au> wrote:

> On Tue, Aug 12, 2014 at 07:19:45PM +0530, pratik singh wrote:
> > Hi Matt,
> >
> > Thanks for your valuable suggestion.
> > Unfortunately my system doesn't have "strace" utility support. I tried
> > dbclient with "-y" option but again its failing again with "write
> > error:broken pipe".
>
> Hi Pratik,
>
> It seems like ttys are broken somehow. Could you try the following:
>
> At a prompt:
> read testvar < /dev/tty
> somethinghere         (then press enter)
>
> echo $testvar
>
> It should print "somethinghere".
>
> How are you getting a shell on the system - Dropbear or
> serial console or something else?
>
> Cheers,
> Matt
>



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


More information about the Dropbear mailing list