SSHD does not set this variable and if it would, I'm not sure how that would have any meaningful meaning. What's the benefit of redirecting commands directly to the pseudo terminal ?
2013/11/12 Kotaru, Ravi <ravi.kot...@firstdata.com.sg> > Hi all, > > > > I am trying to integrate Eclipse PTP Remote tools plugin with Apache SSHD > > server (I want to use my custom shell). > > > > The SSH connection in the PTP API will connect to the SSH server and read > > the $SSH_TTY variable to get the psuedo-terminal path (eg: /dev/pts/3). > > Once it gets the path, all the subsequent commands are directed to that > > terminal. > > > > This works with the openSSH installation or Tectia Server, but doesn't work > > with the Apache SSHD server. > > > > Is there a setting in Apache SSHD, that I can set $SSH_TTY variable and > > return it to the client? > > > > Please help. > > > > Thank you > > Ravi > > > > FIRST DATA - CONFIDENTIAL COMMUNICATION > =========================================== > > “All rights reserved. No part of this email or any documents attached may > be reproduced or transmitted, by any form or by any means, without the > prior written consent of First Data.” > > This e-mail and any files transmitted with it are confidential and are > intended solely for the use of the individual or entity to whom it is > addressed. If you are not the intended recipient be advised that you have > received this e-mail in error and that any use, dissemination, forwarding, > printing, or copying of this e-mail and any file attachments is strictly > prohibited. If you have received this e-mail in error, please destroy the > original transmission (including any attachments) and immediately notify > the sender by telephone at +612 9959 7333 or by reply e-mail. > > First Data takes all care to ensure that data transmitted is free from > viruses or other faults/defects but does not represent or warrant that this > communication or any attached file(s) is free from such computer viruses or > other faults or defects. First Data will not be liable to the recipient or > any other person for any loss or damage (including direct, consequential or > economic loss or damage) however caused which may result directly or > indirectly from the receipt or use of this communication or any files > attached to it. It is the responsibility of any person using this > communication or opening any files attached to this communication to > implement appropriate measure to ensure the integrity of their environment > is maintained. > > -- ----------------------- Guillaume Nodet ------------------------ Red Hat, Open Source Integration Email: gno...@redhat.com Web: http://fusesource.com Blog: http://gnodet.blogspot.com/