사용자 도구

사이트 도구


gradle:ssh

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
마지막 판 양쪽 다음 판
gradle:ssh [2014/06/27 19:01]
kwon37xi
gradle:ssh [2014/06/27 19:03]
kwon37xi [Ant sshexec, scp]
줄 3: 줄 3:
  
 ===== Ant sshexec, scp ===== ===== Ant sshexec, scp =====
 +  * [[gant:tasks|Gant Tasks]] 참조
   * [[https://ant.apache.org/manual/Tasks/scp.html|Ant SCP]]   * [[https://ant.apache.org/manual/Tasks/scp.html|Ant SCP]]
   * [[https://ant.apache.org/manual/Tasks/sshexec.html|Ant SSHEXEC]]   * [[https://ant.apache.org/manual/Tasks/sshexec.html|Ant SSHEXEC]]
줄 24: 줄 25:
  
 // SCP // SCP
 +// ${user.home}은 ant 변수임. 홑따옴표주의!
 ant.scp(file: "file-to-transfer.zip", ant.scp(file: "file-to-transfer.zip",
     todir: 'kwon37xi@hostname:/home/kwon37xi/dir',     todir: 'kwon37xi@hostname:/home/kwon37xi/dir',
-    keyfile: '${user.home}/.ssh/id_rsa', // ${user.home}은 ant 변수임. 홑따옴표주의!+    keyfile: '${user.home}/.ssh/id_rsa',
     passphrase: 'passphrase',     passphrase: 'passphrase',
     verbose: true)     verbose: true)
줄 35: 줄 37:
     username: 'kwon37xi',     username: 'kwon37xi',
     trust: 'true',     trust: 'true',
-    keyfile: '${user.home}/.ssh/id_rsa,  // ${user.home}은 ant 변수임. 홑따옴표주의!+    keyfile: '${user.home}/.ssh/id_rsa,
     passphrase: 'passphrase',     passphrase: 'passphrase',
     verbose: true,     verbose: true,
gradle/ssh.txt · 마지막으로 수정됨: 2014/06/27 19:04 저자 kwon37xi