Please read the ssh/sshd documentation.

You can put into your local .ssh directory a file config and I believe you can specify there that you want to transfer the environment.

As far as I know, this should overwrite the default ssh options in /etc/ssh/ssh_config and ssh_configd specifications.


Am 12.09.2020 um 10:34 schrieb Ilias Miroslav, doc. RNDr., PhD.:
Hello,

I have similar problem as decribed here https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg19049.html .

ssh vsli2 'echo $WIENROOT'


The ssh connection does not preserve the WIENROOT envirovariable.

IT admin does not want the variable ""PermitUserEnvironment"  in .sshd_config to be set .

Therefore, I have to change Wien2k scripts to incorporate enviromental variable passing.

Any hints, howtos ?

Miro



_______________________________________________
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html


--
--------------------------------------------------------------------------
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
Phone: +43-1-58801-165300             FAX: +43-1-58801-165982
Email: bl...@theochem.tuwien.ac.at    WIEN2k: http://www.wien2k.at
WWW: http://www.imc.tuwien.ac.at/tc_blaha-------------------------------------------------------------------------
_______________________________________________
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html

Reply via email to