Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a zipped file on server A, B, C. I want to unzip these from server Z.

The command ssh -f ip "unzip path/" is searching for the path on the server where I run the command and not on the specified IP. What am I doing wrong?

share|improve this question
It works on my machine... – user55325 Nov 13 '12 at 8:40
May be you should login to server Z and then ssh to A, B and C servers? – int Nov 13 '12 at 8:56
@init: the ssh is run on Z. – Mish'al Nov 13 '12 at 9:10
@user55325: could ypu post the command uv run? – Mish'al Nov 13 '12 at 9:11
I actually did ssh -f ip "tar zxf file.tar.gz" but I can't imagine that unzip would be any different. – user55325 Nov 13 '12 at 18:05

Try this:

ssh user@A "unzip path/"

If it is working, then add -f to put it in background:

ssh -f user@A "unzip path/"

ssh -f user@B "unzip path/"

ssh -f user@C "unzip path/"

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.