Subject: Remote using command line

Remote using command line

From: Dmitry <>
Date: Wed, 11 Apr 2012 13:39:19 +0400


Try to send to remote server command "tar cf test.tar test_file.txt"
As a result of this operation creates archive test.tar in folder
/home/username. But I want to be able to execute commands not only in
/home/username directory, but in any directory. How can I implement this
feature? Before create archive i tried to send command like "cd /
target_directory" But as a result archive anyway created in /home/username


Received on 2012-04-11