What static ip address values do i give bank when ...
# ask-stanley-ai
n
What static ip address values do i give bank when setting up SFTP connection?
c
AI generated answer (using internal Slack threads):
When setting up an SFTP connection with a bank, you typically don't provide a static IP address for whitelisting. Instead, the authentication is usually done through a username and a private key. Here's a general process: 1. Generate a pair of SSH keys (public and private). You can use tools like Putty or
ssh-keygen
which is part of openSSH. 2. Upload the private key to NetSuite. You can follow the guide on how to upload a private key to NetSuite here: [Uploading Private SSH Keys](https://system.na0.netsuite.com/app/help/helpcenter.nl?fid=section_1558548493.html) 3. Provide the public key to the bank. They will use this to authenticate your connection. 4. When creating the SFTP connection in NetSuite, you will use the
keyId
property to specify the SSH key to use for client authentication. Here's a sample code:
Copy code
javascript
var strHostKey = "AAAA888888888888888888888q7Rq1";

var objConnection = sftp.createConnection({
  username: 'netsuite',
  keyId: 'custkeynsacs_brav_edw_sftp',
  url: '<http://secungs.com|secungs.com>',
  port: 22,
  hostKey: strHostKey
});
In this code,
keyId
is the ID of the private key record you uploaded to NetSuite, and
hostKey
is the public key of the SFTP server (provided by the bank). Remember, the bank may have their own requirements and procedures, so it's always best to check with them first. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.82686162
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.820169091
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.804935575
Please provide your feedback on this answer.