<div dir="auto">Peter's suggestion is essentially the same as the -F option in ssh, and might work.<div dir="auto"><br></div><div dir="auto">N.B., I strongly suggest not attempting to rewrite the Wien2k scripts. Focus on getting ssh to pass WIENROOT or using a substitute such as rsh or pbsh.<br><br><div data-smartmail="gmail_signature" dir="auto">_____<br>Professor Laurence Marks<br>"Research is to see what everybody else has seen, and to think what nobody else has thought", Albert Szent-Gyorgi<br><a href="http://www.numis.northwestern.edu">www.numis.northwestern.edu</a></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Sep 12, 2020, 09:41 Peter Blaha <<a href="mailto:pblaha@theochem.tuwien.ac.at">pblaha@theochem.tuwien.ac.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Please read the ssh/sshd documentation.<br>
<br>
You can put into your local .ssh directory a file config and I believe <br>
you can specify there that you want to transfer the environment.<br>
<br>
As far as I know, this should overwrite the default ssh options in <br>
/etc/ssh/ssh_config and ssh_configd specifications.<br>
<br>
<br>
Am 12.09.2020 um 10:34 schrieb Ilias Miroslav, doc. RNDr., PhD.:<br>
> Hello,<br>
> <br>
> I have similar problem as decribed here <br>
> <a href="https://urldefense.com/v3/__https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg19049.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!HvP7xTx0DxnNEWTGjuEaz2yor4mq6WKcY0hGUXNwLi5gDD450_vSQZVwufYUrxwS0tcBeA$" rel="noreferrer noreferrer" target="_blank">https://urldefense.com/v3/__https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg19049.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!HvP7xTx0DxnNEWTGjuEaz2yor4mq6WKcY0hGUXNwLi5gDD450_vSQZVwufYUrxwS0tcBeA$</a> .<br>
> <br>
> ssh vsli2 'echo $WIENROOT'<br>
> <br>
> <br>
> The ssh connection does not preserve the WIENROOT envirovariable.<br>
> <br>
> IT admin does not want the variable ""PermitUserEnvironment" in <br>
> .sshd_config to be set .<br>
> <br>
> Therefore, I have to change Wien2k scripts to incorporate enviromental <br>
> variable passing.<br>
> <br>
> Any hints, howtos ?<br>
> <br>
> Miro<br>
> <br>
> <br>
> <br>
> _______________________________________________<br>
> Wien mailing list<br>
> <a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank" rel="noreferrer">Wien@zeus.theochem.tuwien.ac.at</a><br>
> <a href="https://urldefense.com/v3/__http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien__;!!Dq0X2DkFhyF93HkjWTBQKhk!HvP7xTx0DxnNEWTGjuEaz2yor4mq6WKcY0hGUXNwLi5gDD450_vSQZVwufYUrxyT3CPFHQ$" rel="noreferrer noreferrer" target="_blank">https://urldefense.com/v3/__http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien__;!!Dq0X2DkFhyF93HkjWTBQKhk!HvP7xTx0DxnNEWTGjuEaz2yor4mq6WKcY0hGUXNwLi5gDD450_vSQZVwufYUrxyT3CPFHQ$</a> <br>
> SEARCH the MAILING-LIST at: <a href="https://urldefense.com/v3/__http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!HvP7xTx0DxnNEWTGjuEaz2yor4mq6WKcY0hGUXNwLi5gDD450_vSQZVwufYUrxw4g_m9bw$" rel="noreferrer noreferrer" target="_blank">https://urldefense.com/v3/__http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!HvP7xTx0DxnNEWTGjuEaz2yor4mq6WKcY0hGUXNwLi5gDD450_vSQZVwufYUrxw4g_m9bw$</a> <br>
> <br>
<br>
-- <br>
--------------------------------------------------------------------------<br>
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna<br>
Phone: +43-1-58801-165300 FAX: +43-1-58801-165982<br>
Email: <a href="mailto:blaha@theochem.tuwien.ac.at" target="_blank" rel="noreferrer">blaha@theochem.tuwien.ac.at</a> WIEN2k: <a href="https://urldefense.com/v3/__http://www.wien2k.at__;!!Dq0X2DkFhyF93HkjWTBQKhk!HvP7xTx0DxnNEWTGjuEaz2yor4mq6WKcY0hGUXNwLi5gDD450_vSQZVwufYUrxxPuIsMHA$" rel="noreferrer noreferrer" target="_blank">https://urldefense.com/v3/__http://www.wien2k.at__;!!Dq0X2DkFhyF93HkjWTBQKhk!HvP7xTx0DxnNEWTGjuEaz2yor4mq6WKcY0hGUXNwLi5gDD450_vSQZVwufYUrxxPuIsMHA$</a> <br>
WWW: <br>
<a href="https://urldefense.com/v3/__http://www.imc.tuwien.ac.at/tc_blaha-------------------------------------------------------------------------__;!!Dq0X2DkFhyF93HkjWTBQKhk!HvP7xTx0DxnNEWTGjuEaz2yor4mq6WKcY0hGUXNwLi5gDD450_vSQZVwufYUrxy75f0CMQ$" rel="noreferrer noreferrer" target="_blank">https://urldefense.com/v3/__http://www.imc.tuwien.ac.at/tc_blaha-------------------------------------------------------------------------__;!!Dq0X2DkFhyF93HkjWTBQKhk!HvP7xTx0DxnNEWTGjuEaz2yor4mq6WKcY0hGUXNwLi5gDD450_vSQZVwufYUrxy75f0CMQ$</a> <br>
<br>
_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank" rel="noreferrer">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a href="https://urldefense.com/v3/__http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien__;!!Dq0X2DkFhyF93HkjWTBQKhk!HvP7xTx0DxnNEWTGjuEaz2yor4mq6WKcY0hGUXNwLi5gDD450_vSQZVwufYUrxyT3CPFHQ$" rel="noreferrer noreferrer" target="_blank">https://urldefense.com/v3/__http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien__;!!Dq0X2DkFhyF93HkjWTBQKhk!HvP7xTx0DxnNEWTGjuEaz2yor4mq6WKcY0hGUXNwLi5gDD450_vSQZVwufYUrxyT3CPFHQ$</a> <br>
SEARCH the MAILING-LIST at: <a href="https://urldefense.com/v3/__http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!HvP7xTx0DxnNEWTGjuEaz2yor4mq6WKcY0hGUXNwLi5gDD450_vSQZVwufYUrxw4g_m9bw$" rel="noreferrer noreferrer" target="_blank">https://urldefense.com/v3/__http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html__;!!Dq0X2DkFhyF93HkjWTBQKhk!HvP7xTx0DxnNEWTGjuEaz2yor4mq6WKcY0hGUXNwLi5gDD450_vSQZVwufYUrxw4g_m9bw$</a> <br>
</blockquote></div>