-
Recent Posts
Recent Comments
Categories
Links
Daily Archives: October 17, 2018
remote deploy with ssh
遠端佈署時,常常更新完檔案要重新啟動服務,使用ssh execute remote command 可以整合在script方便automation ssh $HOST COMMANDssh $HOST COMMAND1; COMMAND2; … scp SCRIPT.sh $HOST:ssh $HOST SCRIPT.sh #將多個command 放在script 以上使用SSH Key-Based Authentication的方式驗證
Posted in System Administration
Leave a comment