Read remote file using python subprocess and ssh?

前端 未结 4 1169
感情败类
感情败类 2021-02-10 02:25

How can I read data from a big remote file using subprocess and ssh?

4条回答
  •  情歌与酒
    2021-02-10 03:20

    The answer above will work, but you'll have to setup your ssh login to use no password between your boxes. There are other ways to transfer files between computers using Python. A simple way, without authentication is to setup an apache server and use an http request.

提交回复
热议问题