How can I communicate with an android device from my pc with the help of SSH?
Normally, on a network, if one knows the user id and password of a Linux machine (with an SSF server enabled), one can connect from another device.
(How) can this be done on Android?
Have a look at xda-developers.com - Pro-Tip #2: Wireless mount and shell. It explains how to run a SSH server on your Android device using QuickSSHd or SSHDroid