WebFaction
Community site: login faq

I can login with SSH and I can export environment variables. But the environment variables do not persist. Namely, when I disconnect the session and connect again, none of the exported variables are there.

Is this normal?

asked 11 Jan '11, 15:46

esfand
625
accept rate: 0%


Yes. You have to define them in ~/.bash_profile if you want them to be enabled each time you connect.

permanent link

answered 11 Jan '11, 16:28

johns
5.4k312
accept rate: 23%

Thank you.

(11 Jan '11, 17:27) esfand
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×11
×5

question asked: 11 Jan '11, 15:46

question was seen: 2,026 times

last updated: 11 Jan '11, 17:27

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM