[SDK feature request] - integrate an ssh shell to the mer sdk
It would help to have the possibility to have an ssh shell open directly in qtcreator.
edit: even better if we could have one to the device
It would help to have the possibility to have an ssh shell open directly in qtcreator.
edit: even better if we could have one to the device
It's been for some time that this can be done conveniently with sfdk:
sfdk engine exec [<command> [<arg>...]]
sfdk emulator exec [<name-or-idx>] [--] [<command> [<arg>...]]
sfdk device exec [<name-or-idx>] [--] [<command> [<arg>...]]
Emulators are devices too, so obviously the device exec command can be used with emulators too. The notable difference between emulator exec and device exec is the default behavior when <name-or-idx> is omitted: in the former case the emulator at index '0' is assumed, in the latter case the device selected with the device configuration option will be used.
Pass --help to each of those subcommands for more information.
For devices (incl. emulators), it is possible to open a shell from Options > Devices > Open Remote Shell.... It should be possible to make a shortcut using Tools > External > Configure... which would launch your preferred terminal emulator and sfdk inside. This could be applied to the build engine too. In case of build engine our aim is to eliminate the need to SSH into (more features become available directly from host throughsfdk), so integrating a build engine shell into Qt Creator would be retrograde. My recommendation for most flexible solution would be to create yourself a desktop-wide shortcut to open a terminal emulator.
Well; considering qtcreator is a toolkit, it doesnt sound too unnatural to have sfdk command line to a terminal hooked in with a widget. Afaik there's other qtcreator widgets which do the same.
tortoisedoc ( 2020-05-31 18:30:34 +0200 )editAsked: 2018-01-14 16:48:03 +0200
Seen: 458 times
Last updated: May 15 '20
I second this. I always forget how to do this so usually do a grep in the history and if I have not used it recently I have to use my google fu.
martonmiklos ( 2018-01-14 17:19:48 +0200 )editwhy? if you dont know how to ssh probaby yopu dont need this.
coderus ( 2018-01-15 22:51:26 +0200 )editEspecially if you dont know how to ssh you need it.
tortoisedoc ( 2018-01-16 09:06:32 +0200 )edit