*ix script to check port of client server and return output

view story

http://www.unix.com – Hello EveryOne, I am new to *ix. some could help to write a script. Problem :- Have to ssh to so many client and check port or filesystem usage, so thinking to automate using script. What i Need:- when i run script on my Launchpad server, it should Should ask and SSH to user provided Server -> Authenticate User password-> Run port check commands (netstat) or Filesystem usage (df -k) -> return output to Launchpad server server screen(where i ran that script) if fails to do- Return a valid reason( file not found) or (server not available) please let me know if i miss something.. K (HowTos)