+2 votes
in General IT Tips by (54.1k 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

0 votes
by (233k points)
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.