SSH is based on the protocol documented by the SECSH Working group of IETF where many standard documents of network protocols are maintained by network designers, operators, vendors, and researchers.
Xshell FAQ
FAQ List
How can I open an Xftp session from the current Xshell session?How can I open an Xftp session from the current Xshell session?
- Click on the Xftp button (New File Transfer).
- Xftp then opens a new session by using the same account information provided in Xshell session.

How do I run the X11 applications through Xshell?How do I run the X11 applications through Xshell?
Please, go through the following steps.
- To enable X11 forwarding service in Xshell
- To enable X11 forwarding service in the SSH server
- To run X applications from the Xshell terminal
- To enable X11 forwarding service in Xshell:
- To enable X11 forwarding service in the SSH server:
- To run X11 applications from the Xshell terminal:
- If Xmanager is installed on your PC, just go to the next step. Otherwise, run the PC X server installed on your PC first.
- Start the SSH connection with the session enabling X11 Forwarding.
- At the shell prompt of Xshell, execute the X11 applications like the following examples:
[nathaniel@intranet ~]$ xterm &
[nathaniel@intranet ~]$ startkde &
[nathaniel@intranet ~]$ gnome-session &
On the Tunneling tab of Advanced SSH Options dialog box, check Forward X11 Connections To. and select Xmanager if Xmanager is installed in your PC. If you use another PC X server, select X Display Location and enter the proper display name.
Setup the configuration file in the following table.
| SSH server | Config file | Setup |
| OpenSSH | /etc/ssh/sshd_config | X11Forwarding yes |
| SSH.COM | /etc/ssh2/sshd2_config | AllowX11Forwarding yes |
How can I copy existing session files to another computer?How can I copy existing session files to another computer?
C:\Documents and Settings\%USER%\Application Data\NetSarang\Xshell\Sessions (Windows 2000/XP)
C:\Windows\Application Data\NetSarang\Xshell\Sessions (Windows 98/NT)
- Use the following 'sftp' command and connect to a server where files will be transferred.
sftp [user@]host [port] Example of command line) Xshell> sftp myhostname Xshell> sftp myusername@myhostname Xshell> sftp myusername@myhostname 12345 - On the sftp prompt, 'help' command lists a set of available sftp commands.
sftp:/home/myusername> help bye finish your SFTP session cd change your remote working directory clear clear screen exit finish your SFTP session explore explore your local directory get download a file from the server to your local machine help give help lcd change and/or print local working directory lls list contents of a local directory lpwd print your local working directory ls list contents of a remote directory mkdir create a directory on the remote server mv move or rename a file on the remote server put upload a file from your local machine to the server pwd print your remote working directory quit finish your SFTP session rename move or rename a file on the remote server rm delete a file rmdir remove a directory on the remote server sftp:/home/myusername> - Following is sample sequences of uploading files.
- Use 'cd' command to move to a directory where you want to upload files to. (Server)
- Use 'lcd' command to move to a directory where the files, which will be uploaded, are saved. (Windows)
- Check the file name with 'lls' command.
- Start uploading with 'put' command.
The SSH2 protocol provides the services such as server authentication, encryption, data integrity verification, and client authentication. The server authentication is performed using the DSA public key algorithm. For the encryption and the data integrity verification, a number of algorithms that can be implemented in modular fashion on every SSH2 product are provided. The client authentication can be performed using password and public key algorithm such as DSA or RSA as well as a variety of other methods.
What encryption algorithms does Xshell support?What encryption algorithms does Xshell support?
How do I configure to secure arbitrary TCP applications with the SSH port forwarding?How do I configure to secure arbitrary TCP applications with the SSH port forwarding?
If you are connecting from local client applications to the remote server application, you should set Xshell to forward the local port to the remote port.
If you are making secure connection to a POP3 server (mail.xyz.com:110) over Xshell, you may set as follows:Type(direction): Outgoing
Listen Port: a port on your machine
Remote Host: remote server to connect to
Remote Port: remote port on the remote host
And, on the mail client(MS Outlook), you must setup the mail server and port.Listen Port: 5110
Remote Host: mail.xyz.com
Remote Port: 110
The POP3 client will connect to Xshell at local rather than connecting to the remote mail server directly. Xshell forwards all traffics to the mail server over the secure tunnel and transfers all traffics received from the mail server to the POP3 client.Incoming mail server: localhost
Incoming mail port: 5110
Now that I have purchased Xshell, do I need to download any install file? And how can I apply my product key?Now that I have purchased Xshell, do I need to download any install file? And how can I apply my product key?
- Start Xshell.
- From the Help menu click Register Xshell.
RESULT: Registration window opens up. - Enter your product key and click OK.
Xshell fails to make connection and it displays the following message: "Cound not connect to..."Xshell fails to make connection and it displays the following message: "Cound not connect to..."
Check if the host name is entered correctly. Also, if you are using the host name, try using the IP address instead.
"Could not connect to 'hostname' (port 22): Connection failed."
Check if the host machine is ready for connection and the port is reachable. If you are connecting to a SSH server, make sure that SSH daemon is running on the remote host.
How do I keep Xshell from exiting when network connection is closed?How do I keep Xshell from exiting when network connection is closed?
- From the Xshell tool bar, click Tools, and then Options.
RESULT: Options dialog box opens up. - Click the Advanced tab.
- In the Options area, select Exit to local shell on connection close.

To access Server A, I need to make a connection from Server B. How can I configure Xshell to directly connect to server B?To access Server A, I need to make a connection from Server B. How can I configure Xshell to directly connect to server B?
- Start Xshell.
- Click Files, and then Open.
RESULT: Sessions dialog box opens up.
- Select a session that will be an intermediate server. (Server B)
- Right click on the session, and then click Properties.
RESULT: Session Properties dialog box opens up.
- Click Logon Scripts
RESULT: Logon Scripts page opens up.
- Click on the Wait & Response tab.
- Select Execute the following Wait & Response pairs.
- Click Add.
RESULT: Wait & Response Rule dialog box opens up.
- In the Wait field, type in the last few characters of the shell prompt
Ex: If your prompt says [oracle@OTS oracle]$ , then you should write oracle]$.
Note: This is the last line you see on the Xshell terminal when you login to the destination server.
- In the Response field, type in the SSH or Telnet command you use when connecting to the destination server.
Ex: ssh John@192.168.1.193
- Repeat steps 9 and 10 for password and other commands.