I am attempting to transfer a file using ScpClient.
The user I have is restricted by rssh to only be able to use the scp command. It does not have shell access at all.
When transferring from the command line, the transfer works flawlessly. Same thing if I use the root user and my application. So I do not think there is anything wrong with my code or the host machine.
Does SSH.NET require commands other than SCP to authenticate maybe? I have tried going through the code but could not figure this out.
When using this restricted account, SSH.NET reports that no authentication method could be negotiated. I am at a bit of a loss right now. Is anybody aware of limitations of this kind?
The user I have is restricted by rssh to only be able to use the scp command. It does not have shell access at all.
When transferring from the command line, the transfer works flawlessly. Same thing if I use the root user and my application. So I do not think there is anything wrong with my code or the host machine.
Does SSH.NET require commands other than SCP to authenticate maybe? I have tried going through the code but could not figure this out.
When using this restricted account, SSH.NET reports that no authentication method could be negotiated. I am at a bit of a loss right now. Is anybody aware of limitations of this kind?