Configuring 2 PCs via LAN in Debian Lenny

Consider 2 systems which are to be configured as system1 and system2.First of all install the packages openssh-server and openssl from the synaptic package manager in both the systems.
Now connect both the systems via LAN wire and wait until it shows connection established.Configure the I.P of both systems by the following command

@system1:~$ ifconfig eth0