To show the impact of removing *SYSTEM/SSHCLIENT/REQUEST files, perform the following steps:
-
Execute the following SSH command from command prompt (this initializes SSH client and executes the SSH command):
R *SYSTEM/SSHCLIENT ("SSH -i EXAMPLE_KEY1 -l bob -P password -p 22 -v 10.0.0.1 uname") *SYSTEM/SSHCLIENT.: SSH Client initialized OK. Version 55.154.0012 #5076\5080 BOT *SYSTEM/SSHCLIENT/SUPPORT *SYSTEM/SSHCLIENT.: Request Accepted: Key=20111219225820662226 using SSH_CONN1 Linux (USERCODE)SYSTEM/SSHCLIENT/MANAGER ON DISK.: Req#1 Key=20111219225820662226 "Completed OK":ET=02sec(0 bytes at 0/sec) #ET=4.3 PT=0.6 IO=0.1
-
Use the following command to interrogate the status of the SSH command:
R *SYSTEM/SSHCLIENT("STATUS 20111219225820662226") #RUNNING 5082 #? Request was completed OK. Request Reference = 20111219225820662226 #ET=0.1 PT=0.0 IO=0.0
-
Use the following command to disable the SSH client:
R *SYSTEM/SSHCLIENT/ADMIN("DISABLE NOW") #RUNNING 5092 *SYSTEM/SSHCLIENT/ADMIN.: SSH Client is shutting down immediately #ET=0.1 PT=0.0 IO=0.0 #5086\5088 EOT (USERCODE) *SYSTEM/SSHCLIENT/SUPPORT (USERCODE)SYSTEM/SSHCLIENT/MANAGER ON DISK.: SSH Client Manager terminating. Version 55.154.0012
-
Use the following command to remove the *SYSTEM/SSHCLIENT/REQUEST files:
REM *SYSTEM/SSHCLIENT/REQUEST, *SYSTEM/SSHCLIENT/REQUEST/= # *SYSTEM/SSHCLIENT/REQUEST ON DISK REMOVED # 6 FILES IN *SYSTEM/SSHCLIENT/REQUEST/= REMOVED ON DISK
-
Use the following command to run a second SSH command (this initializes SSH client and executes the SSH command):
R *SYSTEM/SSHCLIENT ("SSH -i EXAMPLE_KEY1 -l bob -P password -p 22 -v 10.0.0.1 uname") *SYSTEM/SSHCLIENT.: SSH Client initialized OK. Version 55.154.0012 *SYSTEM/SSHCLIENT.: Request Accepted: Key=20111219230853816786 using SSH_CONN1 Linux (USERCODE)SYSTEM/SSHCLIENT/MANAGER ON DISK.: Req#1 Key=20111219230853816786 "Completed OK":ET=01sec(0 bytes at 0/sec) #ET=4.3 PT=0.7 IO=0.1
-
Use the following command to interrogate the status of the first SSH command (The result is “NOT FOUND” because request file was removed):
R *SYSTEM/SSHCLIENT("STATUS 20111219225820662226") #RUNNING 5100 #? Request not found. Request Reference = 20111219225820662226 #ET=0.1 PT=0.0 IO=0.0
-
Use the following command to interrogate the status of the second SSH command:
R *SYSTEM/SSHCLIENT("STATUS 20111219230853816786") #RUNNING 5102 #? Request was completed OK. Request Reference = 20111219230853816786 #ET=0.1 PT=0.0 IO=0.0