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

The type initializer for 'Renci.SshNet.Security.Chaos.NaCl.Internal.Ed25519Ref10.LookupTables' threw an exception. #548

Open
jacks16384 opened this issue Oct 4, 2023 · 2 comments

Comments

@jacks16384
Copy link

jacks16384 commented Oct 4, 2023

Hello

We have been using the command New-SFTPSession with a try-catch which catches the exception and writes a warning message, this is run as part of an automation which runs on a schedule, it appears to be failing with the error every few days

[WARNING] The type initializer for 'Renci.SshNet.Security.Chaos.NaCl.Internal.Ed25519Ref10.LookupTables' threw an exception.

It's not a big deal since it retries later but we wondered if you could supply additional information on what might cause this?

Unfortunately its not an easy to replicate issue so at this stage I don't have any further information on it.

@darkoperator
Copy link
Owner

darkoperator commented Oct 5, 2023 via email

@jacks16384
Copy link
Author

The only other information I could get is that the Fingerprint matched trusted ssh-ed25519

I dont have any information on the target unfortunately, this is how it is called though, building a secure string previously and calling New-Object with System.Management.Automation.PSCredential

$session = New-SFTPSession -Computername 'external.host.example.com' -Credential $cred -AcceptKey:$true -ErrorAction Stop -Verbose

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