Just as in your previous question, scp perl, I'm at a loss to see how this is at all related to Perl?
in reply to ssh help
I would imagine that the following command would give the following output:
Cannot write to a directory.
There are probably better places, such as IRC channels, to get handholding through Unix shell exercises. While there are many people from many backgrounds with deep knowledge in many things, it really is Perlmonks, not Sshmonks. No offense.
% ssh username:password@remoteserver file /users/merc/tmp
[ e d @ h a l l e y . c c ]