[Solved] How to read file on Linux server from Windows?


You will need a SFTP client to read the files. You cant directly replace the path with hostname. You should try something like paramiko for file ready.

A quick sample:

client= ssh_client.open_sftp()
file = sftp_client.open('your_filename')
try:
    for line in file:
       #Do whatever you want for each line in the file     
finally:
    file.close()

solved How to read file on Linux server from Windows?