mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SSHD-200) Provide an easy way to alter the path environment variable for the server
Date Mon, 07 Jan 2013 16:14:12 GMT

    [ https://issues.apache.org/jira/browse/SSHD-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13545996#comment-13545996

Guillaume Nodet commented on SSHD-200:

I'm not completely clear about what you want to do.
Do you want to be able to modify from the client the PATH environment variable that will be
used when executing commands through ssh ?
Are you talking about a feature equivalent to the .ssh/environment support for native ssh
It should be possible to workaround by executing something like "PATH=xxx ; yyy" or something
like that if you use a native command on the server, isn't it ?
> Provide an easy way to alter the path environment variable for the server
> -------------------------------------------------------------------------
>                 Key: SSHD-200
>                 URL: https://issues.apache.org/jira/browse/SSHD-200
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>         Environment: Windows 7
>            Reporter: somebody
> Looking at your source you have a getEnvironment method defined in some of your classes
that you seem to pass to process builder but I could not find a way to specify this in any
obvious way to the sshServer class.  I even tried to override the ClientSession I believe
it was, but the sshserver only took a ClientSessionFactory and it was unclear how all of this
interacts.  Most ssh servers that I have used, have the ability to update or set the path
environment variable.  I would also like to be able to append a few paths temporarily to the
path while I run my server.  I have looked all over the internet, and through the code trying
things with no luck.  Please release this as a patch before the next version. Thanks.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message