+2 votes
in General IT Tips by (71.8k points)
I am trying to connect to a remote machine using winscp, but I am getting error : "gethostbyname: unknown error". I am using correct hostname, username, port, and password.  How to fix it?

1 Answer

+1 vote
by (349k points)
selected by
 
Best answer
Did you check that you can run an exe file in the folder where you have Winscp? If you do not have full rights of that folder, it will throw the error. Try to move Winscp to a folder where you have full access and hopefully the problem will be solved.

...