Network Utilities. Quest Software 8.5
تبلیغات
تبلیغات
Toad for Oracle
Network Utilities
You access the Network Utilities window via the File | Network Utilities menu item.
You access the Network Utilities options via the View | Options | Network
Utilities page.
Telnet
Telnet (Telecommunications Network) is a protocol for connecting to another computer and establishing a session there where you can issue commands. The protocol is specified in Internet RFC 854.
The Telnet tab is used to communicate with servers implementing the Telnet protocol. It provides Telnet capability through a simple interface. It functions like a terminal emulator, although at this time only displayable characters and the
<Enter> key are supported (i.e., control characters, including backspace, are not currently supported).
Type in the Host Name/IP (Host Name or the IP address) in the dropdown box.
Type in the Port number.
Click the Connect button.
In the window your cursor will appear after "login:"
Type in your login name, press <Enter>, type in your password, and press
<Enter>.
The top panel is a console that displays messages from the server and the commands that you type in. The lower panel shows the Telnet commands sent and received as part of the protocol.
Right-click in the terminal window to access the context menu. The menu lets you Clear the screen or copy information to the Clipboard.
The Save Output button lets you save through the Save As window.
230
Other Features
RExec
The RExec tab lets you execute a Unix command. The server must be running
Rexecd in order for this function to work. It provides controls for specifying the host, user name, and password for the connection. It also provides a location to enter the command to be executed and an Execute button to submit the command. For more information about the RExec command, consult your Unix administrator or refer to your Unix documentation.
The output of the command is displayed in the panel below the connection information. If it is a command to run a program (such as "bc"), then you can enter the information to send, press <Enter>, and see the results of the program. The connection continues until you exit the remote program.
Type in the Host Name/IP (Host Name or the IP address).
In the User box type in the User name.
In the Password box type in the password.
In the Command box type in a Unix command such as "who" or "ls". You can double-click in the Command box to display a command editor that will accommodate long strings.
Press the Execute button to execute the command.
The right-click menu lets you Clear or copy to Clipboard.
Ping
This uses ICMP to contact other machines on the network and let you know whether it was successful or not.
Type in the Host name/IP (Host name or IP address) that you want to ping.
You can set a different Interval (which is in milliseconds), if desired.
Click Start.
Toad will ping the selected host and display the results in the bottom panel. The sending bytes and received bytes results will display in the window. It will continue to ping the host at the interval selected until you click Stop.
You can right-click in the results panel to access the context menu which lets you copy the results to Clipboard or Clear the results window.
Ping is configured under View | Options | Executables.
231
Toad for Oracle
TNS Ping
TNS Ping is an Oracle utility that tries to determine whether a TNS Listener is running for one of the connection strings in the TNSNAMES.ORA file. Given a connection string, TNS Ping looks in the TNSNAMES.ORA file to determine the name or IP address of the machine running Oracle. TNS Ping then connects to that machine to determine whether a TNS Listener is running.
The TNS Ping tab has a Server dropdown with the connection strings from the
TNSNAMES.ORA file and a TNS Ping button to submit the TNS Ping request. The results of TNS Ping display in the panel at the bottom of the window.
TNS Ping is configured under View | Options | Executables.
Select a Server from the dropdown.
Click TNS Ping.
An "Attempting..." message and "Ok..." message will display indicating that the server was successfully pinged.
If there is no listener a "No Listener" message will display.
The right-click menu lets you Clear or copy to Clipboard
IP Addresses
The IP Addresses tab lets you enter a Host name or URL and get the IP address, or enter an IP address and get the Host name or URL.
The top of the window displays the local Host and the local IP address.
In the Host/IP/URL box, type in the Host or URL.
Press the Find button or press <Enter>.
Both the Host/URL and its IP address will display.
This also works in the other direction. Type in an IP address, Press the Find button or press <Enter>, and both the Host/URL and the IP address will display.
The results panel displays all of the results since you opened the window.
The right-click menu in the results panel lets you Clear or Copy to Clipboard.
The Save button lets you save the results to a comma-delimited file via the Save
As window.
232
Other Features
SSH
Secure Shell lets you log into another computer over a network, execute commands in a remote machine, and move files from one machine to another utilizing password/id and data encryption. It provides secure connections over unsecured channels and is a secure replacement for Telnet, Rlogin, RSH, and
RCP.
In addition to the setup area, the screen contains three panels. The top panel displays messages (not SSH commands) from the server. The second panel displays the command that you type in and a Send button for the command. The bottom panel displays the SSH commands sent and received as part of the protocol.
The two versions of Secure Shell are SSH version 1 and SSH version 2. They are different protocols and encrypt at different parts of the packet. They are not compatible. SSH version 2 is more secure and the current development standard.
To connect with SSH
From the File | Network Utilities | SSH tab
1.
In the Connection properties area enter the:
Host name
Port (default 22)
2.
Check either SSHv1 (version 1) or SSHv2 (version 2)
3.
In the Authentication properties area enter the user name, password, private key file for PUBLICKEY authentication type
4.
Click Connect
233
دانلود
تبلیغات