56 |
|
> chmod 600 /var/lib/pgsql/ssh-agent.env |
57 |
|
> source /var/lib/pgsql/ssh-agent.env |
58 |
|
> ssh-add |
59 |
< |
(The password is written on my whiteboard (same as production's)) |
59 |
> |
(The password is same as production's) |
60 |
|
|
61 |
|
2. Login as user production via j0. (password is on Jim's whiteboard). |
62 |
|
|
63 |
|
3. The Postgres must be running and is started automatically on boot: |
64 |
|
|
65 |
< |
> ps -ef |grep pg |
66 |
< |
postgres 4631 1 0 Mar11 ? 00:06:21 /usr/bin/postmaster -D /var/lib/pgsql/data |
65 |
> |
#######OLD######################### |
66 |
> |
#> ps -ef |grep pg |
67 |
> |
#postgres 4631 1 0 Mar11 ? 00:06:21 /usr/bin/postmaster -D /var/lib/pgsql/data |
68 |
> |
################################### |
69 |
> |
|
70 |
> |
dcs0:/home/production> px postgres |
71 |
> |
postgres 6545 1 0 May04 ? 00:09:50 /usr/local/pgsql-8.4/bin/postgres -D /var/lib/pgsql/dcs0_data |
72 |
|
|
73 |
|
4. The root of the datacapture tree is /home/production/cvs/JSOC. |
74 |
|
The producton runs as user id 388. |
128 |
|
> ssh-add (or for sonar: ssh-add /home/production/.ssh/id_rsa) |
129 |
|
(The password is written on my whiteboard) |
130 |
|
|
131 |
+ |
NOTE: on some machines you may have to put the user name in |
132 |
+ |
/etc/ssh/allowed_users |
133 |
+ |
|
134 |
|
NOTE: cron jobs use this /var/tmp/ssh-agent.env file |
135 |
|
|
136 |
|
If you want another window to use the ssh-agent that is already running do: |