Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renci.SshNet.Common.SshAuthenticationException: Permission denied #1347

Open
utkutkan opened this issue Mar 7, 2024 · 1 comment
Open

Renci.SshNet.Common.SshAuthenticationException: Permission denied #1347

utkutkan opened this issue Mar 7, 2024 · 1 comment

Comments

@utkutkan
Copy link

utkutkan commented Mar 7, 2024

Hi all,
I have developed a basic app whis downloads files from sftp. It works fine on my dev PC (windows 10 pro) but when I depoly to prod environment (win10 Home Edition Single Language), I get the error Renci.SshNet.Common.SshAuthenticationException: Permission denied.

Any suggestions, the operating system limitation about Renchi or something else ?
Regards.

@Rob-Hague
Copy link
Collaborator

If the authentication details are correct, perhaps the remote server only allows certain IP addresses for your login, which doesn't include the prod environment?

I think it is unlikely to be an OS limitation

Can you connect with e.g. WinSCP from the prod environment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants