Alternative ways of setting environment variables through PuTTy?

Posted by A T on Server Fault See other posts from Server Fault or by A T
Published on 2013-11-04T02:59:56Z Indexed on 2013/11/04 3:56 UTC
Read the original article Hit count: 2908

Filed under:
|
|
|
|

Connecting via SSH to a SPARC server but am unable to set environmental variables through the usual PuTTy way, which gives me this error:

Server refused to set environment variables

I also noticed that export and set techniques don't work from the prompt; the only which works is:

$ PATH=/everyones_passwords_in_plain_text/:$PATH

How do I automatically run that line on every connect to this server?

© Server Fault or respective owner

Related posts about ssh

Related posts about putty