本地通过脚本调用ssh,通过22端口远程操作linux服务器办法汇总。
如果显示nosuchfile,可以检查一下remotefile得路径是否正确,需要写完整的绝对路径。
参考:
https://www.cnpython.com/qa/65860
https://blog.csdn.net/wangjianhuahua/article/details/122989195
https://blog.csdn.net/hhd1988/article/details/125042238
https://blog.51cto.com/zhouzhenxing/5151252
https://blog.csdn.net/choujayyl/article/details/121114494
https://blog.csdn.net/Haikuotiankong11111/article/details/109636162
https://blog.csdn.net/lepton126/article/details/78138707
https://blog.csdn.net/anqixiang/article/details/115048110
https://zhuanlan.zhihu.com/p/47287495
http://t.zoukankan.com/hushaojun-p-4607490.html
https://blog.csdn.net/a1579990149wqh/article/details/124953746
https://blog.csdn.net/nongcunqq/article/details/115462663
https://blog.csdn.net/wtt234/article/details/125808554
https://blog.csdn.net/weixin_42712416/article/details/118497639