--- title: "Putty won't cache the keys to access a server when run script in hudson" tags: Putty description: Putty won't cache the keys to access a server when run script in hudson --- # Putty won't cache the keys to access a server when run script in hudson --- [TOC] --- ## yes/no 遇到指令需要yes/no,前面請輸入 echo y | ``` terminal echo y | pscp -i /path/to/key/file user@remote:/tmp/file . echo y | plink -i /path/to/key/file scripts.sh ``` --- ## 參考鏈結: https://webdock.io/en/docs/how-guides/database-guides/how-enable-remote-access-your-mariadbmysql-database https://0xzx.com/zh-tw/2021060800161498438.html