using dbclient in bash script issue

Jonathan Chetwynd jay at peepo.com
Fri Mar 1 19:40:51 WST 2013


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