Skip to main content
FortiKoala
Staff
Staff
Sep 28, 2018 10:37 AM UTC

Technical Tip: Configure SSH keys

  • Apr 16, 2026 1:21 PM UTC
  • 0 replies
  • 4643 views
  • Translate All

Description


Unable to successfully complete SSH communication between servers.


Example 1:  Nessus2's IP address is not in the known_hosts file of cm1
root@cm1:
> ssh nessus2
The authenticity of host 'nessus2 (172.22.100.10)' can't be established.
RSA key fingerprint is 94:08:7a:74:41:a7:28:23:1e:e8:63:12:5d:24:2f:51.
Are you sure you want to continue connecting (yes/no)?

Example 2: Nessus1's correct password is not in the /root/.ssh/authorized_keys2 file of cm1
root@cm1:
> ssh nessus2
password:

 

Scope


Version: All

 

Solution


Ensure /bsc/campusMgr/bin/.sshaccountInfo file has a valid entry for every required server including itself.

If not, use the AddPassword tool to add the missing keys.

1) To set the password for SSH connections to a specific server IP, type:
AddPassword <server ip> <root cli password>

 
Note the following:
  • The only allowed symbols for CLI root passwords are ! @ # % ^ * ? _ ~ -
  • Only root CLI/SSH passwords should be entered.


2) Remove any old host entries for that server ip (if any exist).
vi /root/.ssh/known_hosts     

 
'DD' to delete the line.


3) Add the new key for that server IP.
SetSSHKey <server ip>

Related Articles

Technical Note: Troubleshooting CLI credential failure

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024