Actually, you don't need to add any repos. Just comment out any cdrom lines in /etc/apt/sources.list:
Code:
# deb cdrom:[Debian GNU/Linux testing _Squeeze_ - Official Snapshot amd64 CD Binary-1 20100503-03:22]/ squeeze main
# deb cdrom:[Debian GNU/Linux testing _Squeeze_ - Official Snapshot amd64 CD Binary-1 20100503-03:22]/ squeeze main
Then:
Code:
apt-get install openssh-server openssh-client
I'm running sid, but you get the idea.
EDIT: All packages from the cdrom are available from the repos this way. Apt-get just won't check for a cd first.