
서버 A, B, C에 압축된 파일이 있습니다. 서버 Z에서 압축을 풀고 싶습니다.
이 명령은 ssh -f ip "unzip path/file.zip"
지정된 IP가 아닌 명령을 실행하는 서버에서 경로를 검색합니다. 내가 도대체 뭘 잘못하고있는 겁니까?
답변1
이 시도:
ssh user@A "unzip path/file.zip"
작동 중이면 추가하여 -f
백그라운드에 넣으십시오.
ssh -f user@A "unzip path/file.zip"
ssh -f user@B "unzip path/file.zip"
ssh -f user@C "unzip path/file.zip"