using dbclient in bash script issue

Jonathan Chetwynd jay at peepo.com
Fri Mar 1 21:23:33 WST 2013


wfm...

oops looking into this further

apologies for spam

~:"

On 01/03/13 11:40, Jonathan Chetwynd wrote:
> Matt,
>
> great stuff! using in Kindle, works fine...
>
> could you please comment?
>
> with the latest patched screen,
>
> $ dbclient -i /mnt/us/id_rsa me at remoteIP -t "screen -x myscreen -X 
> stuff 'cmd'`echo -ne '\015'`"
>
>  the command is processed on the remote box
>
> similarly in a bash script, using ssh on RPi, not Kindle
>
> #!/bin/bash
> ssh me at remoteIP -t "screen -x myscreen -X stuff 'cmd'`echo -ne '\015'`"
>
> exit
>
> but
>
> #!/bin/bash
> dbclient -i /mnt/us/id_rsa  me at remoteIP -t "screen -x myscreen -X 
> stuff 'cmd'`echo -ne '\015'`"
>
> exit
>
> opens screen, but does not send command.
>
> what am I missing?
>
> kind regards
>
> Jonathan
>


-- 
Jonathan Chetwynd
http://www.gnote.org
Eyetracking in HTML5



More information about the Dropbear mailing list