Xshell provides local commands for advanced users familiar with the terminal environment.
Basically, Xshell prompt is displayed on the terminal screen when a remote host is not connected. When a session is connected, press 'Ctrl+Alt+]' to exit to local prompt. To return to the remote host mode, enter 'exit' or press 'Ctrl+D'.
The following commands can be used.
Command | Description |
---|---|
help | Display commands list on the terminal window. |
new | Open the New Session Properties dialog box. |
open the [session] | Connect with the corresponding session when 'session' is designated. If a session is not designated, the Sessions dialog box is opened. |
edit [session] | Open the Session Properties dialog box for the corresponding session if 'session' is designated. Open the Session Properties dialog box for the default session if 'session' is not designated. |
list | Display a list of directories and information about sessions in the current directory. |
cd | Change the current task directory. |
pwd | 로컬 PC의 현재 경로를 보여 줍니다. 기본 값은 세션 파일의 경로입니다. |
clear | Clear local shell command prompt screen, address bar history, and command history. 사용 가능한 옵션은 다음과 같습니다. |
exit | Close Xshell session or return to remote host. |
set | Configure the Xshell environment. Certain settings can be defined in the session properties or options. To view the current configuration, type the set command without any command line options. 사용 가능한 옵션은 다음과 같습니다. StartFolder 로컬 셸이 시작할 때 기본 경로입니다. 기본 값은 세션 폴더의 루트인 '사용자 데이터 폴더\Xshell\Sessions'입니다. 사용자 데이터 폴더는 프로그램에서 정할 수 있습니다. |
help | 각 명령의 도움말을 보여 줍니다. ssh 명령에 대한 설명을 위해 'help ssh' 명령을 사용합니다. 명령어 없이 'help'만 입력했을 경우 이 도움말을 보여 줍니다. |
ssh | Connect using the SSH protocol. -pa Use Password authentication. Ignore other auth parameters(-A -i). |
sftp [user@]host [port] | Connect using the SFTP protocol. |
telnet [user@]host [port] | Connect using the telnet protocol. |
rlogin [user@]host [port] | Connect using the rlogin protocol. |
ftp [user@]host [port] | Connect using the ftp protocol. |
ipconfig | Execute Windows ipconfig command. |
ping host | Execute Windows ping command. |
tracert host | Show packet path to host. |
netstat | Execute Windows netstat command. |
nslookup | Execute Windows nslookup command. |
realcmd | Execute Windows cmd command. |
scp | Use the scp command to send or get the file to another server. |