IDM Power Tips
Using SSH / telnet
You can use the embedded SSH / telnet console in UltraEdit and UEStudio to perform command line executions on remote systems directly from the editor!
Using the SSH / telnet Console
You can enable the SSH / telnet in the Advanced tab. Click the SSH / telnet drop down and then click SSH / telnet console.
The console is dockable, meaning you can move and reposition it where you would most prefer it by clicking and dragging its title bar.
Click on the accounts button, the SSH / telnet Account manager will open.
This dialog is what you will use to configure the accounts.
Click the Add Account button, then specify a new account name.
The SSH / telnet Account Manager has options organized under five different tabs: General, Advanced, Proxy, Authentication and Terminal.
3a. The General Tab:
The name to be used for the account. This is the name which will appear in the list to the left of the configuration options.
Select either SSH or Telnet protocol be used for the account.
This is the server that you will connect to, such as ultraedit.com. If you prefer, you can use the IP address in the form of xxxx.xxxx.xxxx.xxxx.
This is the port used by UltraEdit/UEStudio for the SSH / telnet protocol. The default is 22 for SSH and 23 for Telnet. You can also change this if the server uses a different port.
This is the username used to log into the server.
This is the password used with the username to log into the server. This should be the password for the username as provided by the site administrator.
This checkbox determines if UltraEdit/UEStudio will save the password. If not, you'll be prompted for the password as required.
Note: If the password is saved it is encrypted and stored on the system.
3b. The Advanced Tab:
This specifies the interval (in seconds) at which connection test packets should be sent to the server.
This specifies the interval (in seconds) that UltraEdit/UEStudio should wait before terminating a session that has had no activity.
This may be used to specify a command which will be executed automatically upon successful completion. After the command has been executed the terminal session will be automatically disconnected.
Enable session logging:
If checked, all text shown in the terminal window including commands you type, and output from the remote system, will be logged in the file located at the path in the "Log file" field. If Append new sessions to file is checked, then the log will be appended with new sessions rather than being overwritten with each new session. You can learn more about this in the SSH / telnet logging power tip.
3c. The Proxy Tab:
If checked, this enables the proxy settings configuration and configures this account to connect through the specified proxy. If you are connecting directly to the Internet without using a proxy, the proxy settings should not be enabled. If you are connecting through a proxy on a LAN you will need to set up the proxy settings.
This is the proxy type to be used for the SSH / telnet account. You may select one of the following proxy types:
- HTTP - (CONNECT)
- Windows - (Internet Explorer)
This is the port used by UltraEdit/UEStudio for the SSH / telnet protocol. The default is 22 for SSH and 23 for Telnet. This may be changed if needed.
This is the username used to log into the proxy.
This is the password to log into the proxy. This is the password, for the username, as provided by the site administrators.
3d. The Authentication Tab:
This allows the user to specify the protocol and type of authentication to be used with the server.
The following protocols are supported:
If this option is selected connection will first be attempted with SSH2. If this is not supported by the server SSH1 will be used for the connection.
If this option is specified only SSH1 will be used to connect to the server.
If this option is specified only SSH2 will be used to connect to the server.
The following authentication types are supported:
This requires the username/password to be provided and no public/private key pair is used.
Public Key Only:
This requires the use of the public/private key pair to be used. The private key location must be specified in the Private Key Path.
Password and Public Key:
This allows the user to specify the public/private key and/or the username/password.
Key Requires Passphrase:
This allows the user to indicate that the private key is password protected. If this is the case, the user will be prompted for the password once per session, or after changing the account settings.
Private Key Path:
The user may browse to or manually specify the path to the existing private key. The authentication method must be supported by the server. The keys used should be in OpenSSH format and may be RSA or DSA type keys.
3e. The Terminal Tab:
This option is used to specify the terminal type set on the remote server (an Environment variable). This may be left blank.
This dropdown allows the user to specify what terminal emulation should be used for the session. The following options are supported:
You may click on the color block to specify the foreground color for the terminal.
You may click on the color block to specify the background color for the terminal.
Clicking on this button will present the standard Windows font dialog from which you may select the font to be used.
Scroll Back Log:
Use this field to specify the number of lines you may scroll back in the existing log.
When a connection is established with the server, escape sequences are passed with data specifying color, style, and other formatting information. This setting allows you to specify what formatting information is displayed in the SSH / telnet client window.
If this option is selected the client will attempt to display everything.
If this option is selected the client will attempt to display everything except colors passed by the server.
If this option is selected the client will only attempt to display text and whitespace characters passed by the server.
UltraEdit/UEStudio will allow you to copy an existing account with the Copy Account button.
As you've probably guessed, the Remove Account button will remove the active/selected account from the accounts list.
The Set Default Account button sets the active/selected account as the default account specified by an asterisk "*" following the account name in the list.
Once you've properly set up the account, click connect. You should see the "Status" changed to "Connected To...".
You can now begin typing your commands. The SSH / telnet console does also allow you to copy/paste between the editor and the console.
You can copy text using the right-click context menu, or using Ctrl + Insert.
You can paste text using the right-click context menu, or using Shift + Insert.
You can open additional terminal windows, and switch between them, using the tabs at the bottom of the console. To add or remove a terminal right click on the existing tab.