Return to UOCC HomeComputing News Home
Header bar

How to Preserve your Pine Address Book when Moving Email from Oregon to Darkwing

Lucy Lynch
User Support Specialist
listmaster@lists.uoregon.edu

Moving email from Oregon to Darkwing and need to save your Pine address book? Here's a step-by-step tutorial on how to do it:

1. Log in to Darkwing using ssh and type:

% pwd

Press Enter. You should now see something like:

/home3/llynch

Write this down!

2. Now log in to Oregon by typing:

% ssh oregon

Press the Enter key. If you have never used ssh, you will see something like:

% ssh oregon
The authenticity of host ‘oregon (128.223.32.18)' can't be established.
DSA key fingerprint is e8:a4:a0:d7:8f:6d:c5:c1:60:84:68:bd:58:6d:fc:51.
Are you sure you want to continue connecting (yes/no)?

Type yes and hit the Enter key.You'll see the following warning:

Warning: Permanently added ‘oregon,128.223.32.18' (DSA) to the list of known hosts.
University of Oregon Computing Center VMScluster node OREGON. Unauthorized access to this system is prohibited. Systems to identify unauthorized users may also monitor authorized users.

Next, you'll be prompted for your Oregon password, as follows:

llynch@oregon's password:
Type in your password and press Enter.
3. At the $ prompt, type:
$ dir pine.*
[enter]
Among the files listed you should see something like this:
PINE.ADDRESSBOOK;1 PINE.ADDRESSBOOK-LU;1 PINE.PINERC;1

3. At the $ prompt, type:

$ dir pine.*
[enter]

Among the files listed you should see something like this:

PINE.ADDRESSBOOK;1 PINE.ADDRESSBOOK-LU;1 PINE.PINERC;1

The file you want to save is PINE.ADDRESSBOOK. You'll need to move this file to Darkwing using scopy, as follows:

1. First, enter the scp2 command followed by the file name and the complete path to your Darkwing home directory (the result of the pwd command!):

$ scp2 PINE.ADDRESSBOOK "Darkwing.uoregon.edu::/home3/llynch/"
[enter]

If you haven't used scopy before, you may see something like the following message:

Host key not found from database.
Key fingerprint:
xumep-ditim-dibud-ledis-nyvyl-nocit-pycol-mefon-gydeg-hagag-tuxux

You can get a public key's fingerprint by running

(OpenVMS) $ multinet sshkeygen /ssh2 /fingerprint=publickey.pub
(UNIX) % ssh-keygen -F publickey.pub
Are you sure you want to continue connecting (yes/no)?
If so type: yes
[enter]

You'll see a short report:

Host key saved to DISK$USER3:[LLYNCH.SSH2.HOSTKEYS]key_22_darkwing.pub
host key for Darkwing, accepted by llynch Thu Dec 12 2002 12:08:49

Then you'll be prompted for your Darkwing password:

llynch@darkwing's password:

2. Type in your Darkwing password and press Enter and the file will be transferred

pine.addressbook 33B | 0.0 kB/s | TOC: 00:00:01 | 100%

3. You can now log out of Oregon by typing:

$ logout
[enter]

4. You should be back at the % prompt in your Darkwing home directory. Type

ls -al .add*
[enter]

5. Now you should see something like:

-rw-r--r-- 1 llynch cc_acad 6821 Dec 9 11:34 .addressbook
-rw-r--r-- 1 llynch cc_acad 6218 Dec 9 11:34 .addressbook.lu

If you have already entered addresses in your Darkwing address book and want to save them, type:

% cat pine.addressbook >>.addressbook
[enter]

This will add your Oregon address book to the Darkwing address book (you may need to remove duplicate entries using Pine).

If you want to replace the .addressbook file on Darkwing with your Oregon address book (and save the Darkwing file, just in case), type:

% mv .addressbook .addressbook.old
[enter]

Then, type:

% cp pine.addressbook .addressbook
[enter]

You can now start Pine and use your Oregon addresses!


Winter 2003 Computing News | Computing Center Home Page