Solved

IFS Cloud installation

  • 25 October 2023
  • 2 replies
  • 152 views

Userlevel 3
Badge +8

Hello All ,

while we  trying to set IFS 23R1 on GCP cloud we are getting error  below error no steps when we need to create SSH key for remote access.

 

Any pointer to resolve this error, we have updated the etc/hosts file also update  the main.ps1 as we are not using 22 port but still below error shown its picking port 22 only..

 

D:\ifsroot\utils\..\config\secrets\.ssh\gmu-co-ab__com_id_rsa already exists.
Overwrite (y/n)? y
processed file: D:\ifsroot\utils\..\config\secrets\.ssh\gmu-co-ab__com_id_rsa
Successfully processed 1 files; Failed processing 0 files
Adding Public Key to Linux Box
ssh: connect to host gmu-co-ab__com_id  port 22: Connection refused
Excution Failed: Error occured when adding Public Key to Linux BoX.
2023-10-25 10:22:51.93   GMUVDIFS-COE-01 Stop  Add-KeybasedAuthWithLinuxBox

 

Regards

Sujeeth S

icon

Best answer by Sujeet Saxena 25 October 2023, 16:45

View original

2 replies

Userlevel 5
Badge +12

Hi Sujeet,

To remove old keys, please try the following:

ssh-keygen -R <DNS for ifs-remote>

Then re-run the ‘KEY’ step.

Best regards -- Ben

Userlevel 3
Badge +8

Hello Ben

 

FYIP; We were able to resolved this issue after updating the port in Main.ps1/Config.json and local & common.psm files,

 

however when we tried to run the next level command which is “.\main.ps1 -resource 'KUBERNETES'” and getting below error is like ---

 

New-SSHSession : Permission denied (publickey).
At D:\ifsroot\utils\common.psm1:43 char:23
+ ... LOBAL:ssh = New-SSHSession -Port 22022 -Computer $NodeName -Credentia … 

 

Any clue please.

 

 

Reply