Skip to main content
lucas_h_
New Member
February 5, 2020
Question

SSH login to Fortigate VM ec2 instance

I am trying to ssh log in to an aws ec2 instance with fortigate VM installed on it.

E.g.:

ssh -i ~/Documents/my_Fortigate_key.pem ec2user@ec2-xx-xx-x-xxx.eu-central-1.compute.amazonaws.com

But for some reason, I get a password request. I have tried using the instance id, which doesn't work and since I haven't set any password, I don't even know what the password might be in this case.

 

Logging in using admin@ec2-xx-xx-x-xxx.eu-central-1.compute.amazonaws.com works fine, but gives me different option and I am not able to access the unix system underneath fortigate. Is this by design? I am trying to ssh login directly to the instance in order to disable root authentication via ssh, so if I can't login like that by default, it would work for me.

    1 reply

    ask11
    New Member
    November 6, 2020

    I have same issue. This also blocks AWS SSM Agent installation. Did you solve this ?

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT