mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goldstein Lyor (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SSHD-532) Environment variables not set
Date Tue, 07 Jul 2015 13:00:06 GMT

     [ https://issues.apache.org/jira/browse/SSHD-532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Goldstein Lyor resolved SSHD-532.
       Resolution: Not A Problem
    Fix Version/s: 1.0.0

I have added a specific test + Javadoc (to version 1.0, but the code has not changed in this
area) - see https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=commitdiff;h=5cd057a72e0ff551cb1ff5c1b1a877664495184c;ds=sidebyside

If the problem persists and you can provide a clear use-case test code, then we can re-open

> Environment variables not set
> -----------------------------
>                 Key: SSHD-532
>                 URL: https://issues.apache.org/jira/browse/SSHD-532
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 0.13.0
>            Reporter: Matt Kusnierz
>            Assignee: Goldstein Lyor
>             Fix For: 1.0.0
> Calling org.apache.sshd.client.channel.PtyCapableChannelSession.setEnv(String, String)
on a org.apache.sshd.client.channel.ChannelShell doesn't seem to work as (I) expected. I would
have thought this should set environment variables in the remote ssh session; but this doesn't
seem to happen. Trying to access environment variables from a (java) process run in this ssh
session don't see the environment variables as having been set/exported. Either this doesn't
work, or I am using it incorrectly, and in which case, it could do with some better javadoc
to explain how it should be used.

This message was sent by Atlassian JIRA

View raw message