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

dgü commented on SSHD-1300:
---------------------------

{quote}If you want to know what the peer environment is, then AFAIK there is no 
standard SSH way to do it.
{quote}
Yes! This is the question.

As i understand it is not possible to get environment variables without 
executing a separate remote command such as _env_ on UNIX.

 

 

> ProcessBuilder#environment() equivalent for ChannelExec
> -------------------------------------------------------
>
>                 Key: SSHD-1300
>                 URL: https://issues.apache.org/jira/browse/SSHD-1300
>             Project: MINA SSHD
>          Issue Type: Question
>    Affects Versions: 2.9.1
>         Environment: Java SE 8, Apache NetBeans IDE 8.2
>            Reporter: dgü
>            Assignee: Lyor Goldstein
>            Priority: Major
>
> Hello!
> is there an equivalent of _java.lang.ProcessBuilder#environment()_ for 
> _org.apache.sshd.client.channel.ChannelExec_ ?
> If not, is there a workround to get environment variables of _ChannelExec_ 
> before executing remote command ?
> Thanks in advance...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to