0
프롬프트에서 sftp
을 사용하여 한 서버에서 다른 서버로 파일을 전송할 수 있습니다."sftp : command not found"Unix 쉘 스크립트에서 sftp 실행
나는 쉘 스크립트에서 sftp
를 사용하려고 나는 다음과 같은 오류가 발생합니다 :
sftp ${USER}@${HOST} <<EOF
quote pass ${PASSWD}
cd ${PATH}
mput *.csv
EOF
이 사람이 나를 도울 수 :
"sftp: command not found"
내가 스크립트에서 아래의 코드를 시도?
헤이 덕분에 많이 which 명령은 .. :) 내가이 문제를 방지 할 prompt..How에 암호를 요구? – Suvasis
공개 키 인증을 설정해야합니다. [http://superuser.com/questions/15984/how-do-i-automate-sftp-to-get-rid-of-the-password-prompt]http://superuser.com/questions/15984/how -do-i-automate-sftp-to-the-password-of-the-password-prompt –