Using System Proxy in Non-Interactive Mode
This section outlines how to use system proxy in non-interactive mode.
To use system proxy, select the SSH commands from the following table:
Table 5 System Proxy SSH Commands
|
|
|
|
|
|
proxy
|
ip
|
proxy server ip address
|
Valid IP address for the proxy server.
You must always set the IP address and port together.
|
ssh -q user@gateway proxy ip=192.0.2.0
port=9001
|
YYYY-MM-DD HH:MM:SS [INFO] Successfully configured proxy
|
|
port
|
proxy server port
|
Valid port number for the proxy server.
You must always set the IP address and port number
together.
|
ssh -q user@gateway proxy ip=192.0.2.0
port=9001
|
YYYY-MM-DD HH:MM:SS [INFO] Successfully configured proxy
|
|
user
|
proxy user
|
User name for the proxy server.
You must always set the user name and password together, with
the IP address and port number.
|
ssh -q user@gateway proxy ip=192.0.2.0 port=9001
user=MarkESmithBrixManchester
pass=Fa!!GrannyB0ng0s
|
YYYY-MM-DD HH:MM:SS [INFO] Successfully configured
proxy
|
|
pass
|
proxy password
|
Password for the proxy server.
|
ssh -q user@gateway proxy ip=192.0.2.0 port=9001
user=MarkESmithBrixManchester
pass=Fa!!GrannyB0ng0s
|
YYYY-MM-DD HH:MM:SS [INFO] Successfully configured
proxy
|
|
disabled
|
|
Remove proxy settings from the Gateway.
|
ssh -q user@gateway proxy disabled
|
YYYY-MM-DD HH:MM:SS [INFO] Successfully removed proxy from
system
|
|
status
|
|
Return the current Gateway proxy settings.
|
ssh -q user@gateway proxy status
|
YYYY-MM-DD HH:MM:SS [INFO] Current proxy set to
[192.0.2.0:9001] [user = MarkESmithBrixManchester]
|
|