+2 votes
in General by (11.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 (15.8k 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.
...