2013-04-01 92 views
1

我该如何在远程机器上设置perl环境变量?env变量perl

我ssh进入远程机器,然后尝试通过导出命令设置环境变量。 但它不设置环境变量

`ssh -2A [email protected]`; 
`export someEnv=no`; 
+0

http://superuser.com/questions/ 163167/when-sshing-how-can-i-set-an-environment-variable-on-the-server-that-c​​hanges-f这是类似的 – 2013-04-01 06:56:30

回答

1

SSH -2A根@ XXXX “出口VAR =价值& & ./script.pl”