guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Couchman <vn...@apache.org>
Subject Re: Automatic execution of commands in Telnet/SSH
Date Tue, 03 Oct 2017 00:24:22 GMT
Jeff,
Guacamole does not work any different in this regard than logging into the
SSH or Telnet system with a terminal emulator.  So, you can certainly set a
command to run at login, which will be executed in the context of the
user's login shell and environment, but there's no special way that
Guacamole has to inject commands into the login process that either bypass
the user's login shell or execute something just because it's coming from
Guacamole.

There are ways to accomplish this - like setting the SSH session startup
command to a particular shell script that runs and then drops the user into
a shell.  But, again, this is exactly the same process you'd use if you
wanted to do this for someone using ssh or telnet on a command line.

-Nick

On Mon, Oct 2, 2017 at 4:46 PM, McRoy, Jeffrey (GE Healthcare) <
Jeffrey.McRoy@ge.com> wrote:

> Hi Everyone,
>
>
>
> Has anyone experimented with automatically executing a command on the
> remote system directly after logging in using the Telnet or SSH protocol
> plugins?
>
>
>
>
>
> Thanks & Regards,
>
> Jeff
>
>
>

Mime
View raw message