Milcho Dimkov
09/19/2024, 1:07 PMCeligo AI
09/19/2024, 1:08 PMAI generated answer (using internal Slack threads):Based on the conversations, the error message "Could not establish connection to No more authentication methods available" is typically encountered when trying to establish a connection to an SFTP server. This error is often related to authentication issues. One of the users suggested that the issue might be related to the use of password GUID for authentication. They recommended using API Secrets instead. Here is a sample code snippet they provided:
javascript
let connection = sftp.createConnection({
username: 'test_sftp_user_12345',
secret: 'custsecret_files_password',
url: '<http://test.files.com|test.files.com>',
hostKey: creds.hostKeys["<http://files.com|files.com>"]
});
In this code, the password is saved under Setup > Company > API Secrets, and then referenced by its internalid in the script.
Another user pointed out that NetSuite can be picky about SFTP server compatibility. You can check the supported cipher suites and host key types in the NetSuite Help Center.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
09/19/2024, 1:08 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.881397
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.856701255
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.843549609
Celigo AI
09/19/2024, 1:08 PM