![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Where can I read about the difference between "..profile" and ".profile" | zorrokan | UNIX for Dummies Questions & Answers | 2 | 09-04-2007 10:35 PM |
| Difference between .profile and .~/.profile | maneesh mehta | SCO | 3 | 12-14-2005 12:35 AM |
| Executing .profile from perl script | prekida | Shell Programming and Scripting | 1 | 09-29-2005 10:51 AM |
| changed .profile but didnt ./.profile, yet reflected changes | yls177 | UNIX for Dummies Questions & Answers | 4 | 12-05-2002 07:21 AM |
| executing .profile | jalburger | UNIX for Dummies Questions & Answers | 6 | 11-13-2002 07:34 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
executing .profile with ssh
Hi, How do I get all my profile settings when connecting with ssh?
|
| Forum Sponsor | ||
|
|
|
|||
|
I'm using a remote machine. I try to access a cvs repository but when connecting to it it can't find the correct environment variables because it doesn't run the .profile. So I need a way to set environment variables with ssh. There's nothing wrong with my profile, ssh just doesn't pick up the environment variables of the user account.
|
|
|||
|
the solution:
enable PermitUserEnvironment in ssh_config add environment file with VAR=VALUE in .ssh directory --> http://www.openbsd.org/cgi-bin/man.cgi?query=ssh |
|
||||
|
you know i wouldn't doubt it if the man pages had options that could override the problem that you were having staticaly rather than the global changes that you made.. even though configuring the confi.files should be the first place to search.. that way if you decide to keep the changes you are not constantly messing with options..
thanx for the update moxxx68
__________________
moxxx68 http://www.estarinformado.com.ar/apicmaxmiel/bee-diez.gif |
||||
| Google UNIX.COM |