If you are using AWS Storage Gateway appliance and hosted on KVM hypervisor, I would suggest you to refer the AWS Doc  on how to connect appliance console from kvm command line. You can come out of the console by entering "X" if you are in main logged in prompt.
However, if you are looking for appliance's Linux OS level prompt (latest version is built on AL2 version) that is not possible since it is AWS managed and developed AMI image and we strongly recommend not to make any changes within the OS which will lead to issues with storage gateway appliance.
The we have already described in our public documentation . You should treat the Storage Gateway appliance as a managed embedded device, and should not attempt to access or modify its installation in any way. Attempting to install or update any software packages using methods other than the normal gateway update mechanism (for example, SSM or hypervisor tools) may cause the gateway to malfunction.
Refer:  https://docs.aws.amazon.com/filegateway/latest/files3/accessing-local-console.html#MaintenanceConsoleWindowKVM-common  https://docs.aws.amazon.com/filegateway/latest/files3/MaintenanceManagingUpdate-common.html
Hi, adding to above answer, if you are looking to come out of the AWS Appliance console after exiting the configuration session using X, you would need to provide the Escape character. You would see an escape character when you are connected to the VM using virsh console <vmname>, for example like Escape character is ^]. Depending on the keyboard language settings, you might need to use different combination of keys. Please refer here for additional details. Thank you.
AWS Storage Gateway: access control, authentication and clientsAccepted Answerasked 2 years ago
On-Premise Backup with Storage Gateway - how does it impact normal SG use?Accepted Answerasked 4 years ago
Storage Gateway won't load disksAccepted Answerasked 7 months ago
How can I get out of the local console of the AWS storage gateway?Accepted Answerasked 4 months ago
AWS Storage gateway and read only shareAccepted Answerasked 10 months ago
Manage FSx Storage Gateway CacheAccepted Answerasked a month ago
Menu item missing from Storage Gateway Consoleasked 2 years ago
Storage Gateway VTL ModeAccepted Answerasked 3 years ago
AWS Storage Gateway Management Console is not availableasked 3 years ago
Can Storage Gateway handle 8 TB of local file data with the potential to grow up to 18TB?Accepted Answerasked 7 years ago