RFC: Snappy shell
Selene Scriven
selene.scriven at canonical.com
Fri Jun 19 02:25:55 UTC 2015
* Dustin Kirkland <kirkland at canonical.com> wrote:
> These, as well as Mark's suggestion about various snaps each
> providing their own interactive shell-like interface, are
> cleanly addressed by enabling end users (or particular gadgets)
> to set one of these shells as the last line of ~/.profile, such
> that an interactive login drops you straight into that program,
> while maintaining all of the benefits of ssh and bash and
> friends ;-)
+1
I want to make sure normal ssh usage works, and consider the
snappy shell to be a bonus. Locking out normal ssh functions
seems likely to make users angry.
I like the idea of letting packages define a management command
which can be accessed in a standard manner. The apps already
define a 'start' method; why not add a 'manage' or
'interactive-configure' method too? (or is this covered by
'snappy config' ?)
ssh snaphost snappy manage myapp
But no matter how slick we make it people will still need to dive
in deep to investigate issues, so it should allow 'ssh snaphost
bash' for exploration and debugging. And scp/sftp/rsync and
other ssh-based functions should "just work".
-- Selene
More information about the snappy-devel
mailing list