Go to main content

Oracle® Advanced Services Gateway Security Guide

Exit Print View

Updated: June 2025
 
 

Using Remote Access in Non-Interactive Mode

This section outlines how to use remote access control in non-interactive mode.

To use remote access control, select the SSH commands from the following table:

Table 4  Remote Access Control SSH Commands
Prefix
Option
Setting
Description
Sample Usage
Sample Output
remoteaccess
login
enabled/disabled
Toggle the remote access.
ssh -q user@gateway remoteaccess login=enabled
YYYY-MM-DD HH:MM:SS [INFO] Successfully set remote access to [enabled]
timer
Duration in minutes (see the sample usage)
Temporarily enable remote access for a set period of time. 
When the timer expires, access is disabled.
ssh -q user@gateway remoteaccess timer=60
YYYY-MM-DD HH:MM:SS [INFO] Successfully set remote access timer
status
Check whether there is currently a timer set to control remote access.
ssh -q user@gateway remoteaccess timer=status
YYYY-MM-DD HH:MM:SS [INFO] There is no remote access timer currently set
disabled
Immediately remove any remote access timer and disable remote access.
ssh -q user@gateway remoteaccess timer=disabled
YYYY-MM-DD HH:MM:SS [INFO] Successfully disabled remote access timer
status
Check the current status of remote access.
ssh -q user@gateway remoteaccess status
YYYY-MM-DD HH:MM:SS [INFO] Remote access is currently [disabled]