|
|
 |
If you cannot find the solution for your problems here, please visit our Xshell Forum where you may find the solution. Otherwise, please post your question.
- What is SSH?
- What protocols does Xshell support?
- What is the difference between SSH1 and SSH2?
- What encryption algorithms does Xshell support?
- How can I copy existing session files to another computer?
- How do I configure to secure arbitrary TCP applications with the SSH port forwarding?
- How do I run the X11 applications through Xshell?
- Now that I have purchased Xshell, do I need to download any install file? And how can I apply my product key
- Xshell fails to make connection and it displays the following message: "Cound not connect to..."
- How do I transfer files using SFTP?
- How can I create an Xftp session from the current Xshell session?
- How do I keep Xshell from exiting when network connection is closed?
- To access Server A, I need to make a connection from Server B. How can I configure Xshell to directly connect to server B?
1. What is SSH?
|
The Secure Shell(SSH) protocol provides secure authentication and encryption replacing insecure login protocols such as telnet, rlogin and r-commands. It also supports the port forwarding of the X11 connections and arbitrary TCP/IP protocols.
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.
|
2. What protocols does Xshell support?
|
Xshell is a powerful terminal emulator supporting Telnet, Rlogin, SSH1, and SSH2 protocols. It supports terminal emulation for VT100, VT220, VT320, xterm, ansi, linux, and scoansi. It also supports the Zmodem and SFTP file transfer protocol.
|
3. What is the difference between SSH1 and SSH2?
|
SSH2 is a complete rewrite of the SSH1 protocol. They are two entirely different protocols. SSH2 is a significant improvement over older versions of the Secure Shell protocol. It is more secure, better designed and more flexible, so anyone who is still using SSH1 is strongly encouraged to upgrade to SSH2.
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.
|
4. What encryption algorithms does Xshell support?
|
The supported ciphers are
AES128/192/256, 3DES, BLOWFISH, CAST128, ARCFOUR, and RIJNDAEL. And Xshell supports SHA1, SHA1-96, MD5, MD5-96, and RIPEMD160 MAC algorithms.
You can configure multiple ciphers and MAC algorithms to be tried in order of the appearance in the list.
|
5. How can I copy existing session files to another computer?
You can use the same session configuration on another computer by copying the session files.
The session files are saved in the following folder:
Windows 2000/XP: C:\Documents and Settings\%USER%\Application Data\NetSarang\Xshell\Sessions
Windows 98/NT: C:\Windows\Application Data\NetSarang\Xshell\Sessions
|
6. How do I configure to secure arbitrary TCP applications with the SSH port forwarding?
|
The SSH port forwarding is a good method of allowing secure, encrypted connections to traditionally non-encrypted services, such as POP3 for email, NNTP for news, etc. You can easily setup a port forwarding rule from Xshell. Simply put proper information to the Forwarding Rules dialog box.
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.
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
If you are making secure connection to a POP3 server (mail.xyz.com:110) over Xshell, you may set as follows:
Listen Port: 5110
Remote Host: mail.xyz.com
Remote Port: 110
And, on the mail client(MS Outlook), you must setup the mail server and port.
Incoming mail server: localhost
Incoming mail port: 5110
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.
|

7. How do I run the X11 applications through Xshell?

8. Now that I have purchased Xshell, do I need to download any install file? And how can I apply my product key?
|
Xshell evaluation is fully functional copy and there is no need to reinstall additional software. To apply your product key follow the steps below:
- Start Xshell.
- From the Help menu click Register Xshell.
RESULT: Registration window opens up.
- Enter your product key and click OK.
Also, expiration date notice window will not appear again once you apply your product key.
|
9. Xshell fails to make connection and it displays the following message: "Cound not connect to..."
|
"Could not connect to 'hostname': Unknown host."
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.
|
10. How do I transfer files using SFTP?
You can use 'sftp' command from the local Xshell prompt to transfer files.
- 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.
If Xftp is already installed, Xshell can create an Xftp session from the current Xshell session for easier and more secure file transfer. For more information on how to integrate Xftp and Xshell, please refer to the Xshell FAQ 11.
|

11. How can I create an Xftp session from the current Xshell session?
If Xftp is already installed, the Xftp button (New File Transfer) in the Xshell toolbar is automatically activated.
- Click on the Xftp button (New File Transfer).
- Xftp then opens a new session by using the same account information provided in Xshell session.
Please refer to the Xftp Tutorial for more detailed Xftp usage guide.
|
12. How do I keep Xshell from exiting when network connection is closed?
Use the following setting to prevent Xshell from exiting when the 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.
|
13. 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 connect to Server A through an intermediate server, Server B, you can use the Wait & Response feature. Please follow the instruction below:
- 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.
|

|
|