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 |
Show the current path of the local PC. The default is the path to the session files. | |
clear | Clear local shell command prompt screen, address bar history, and command history. |
screen 화면을 지웁니다. 기본 값입니다.
address 주소 표시줄의 내역을 지웁니다.
history 로컬 셸 명령어 내역을 지웁니다
The available options are: screen Clear the screen. This is the default value. | |
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'입니다. 사용자 데이터 폴더는 프로그램에서 정할 수 있습니다.
LogFolderPath 세션의 로그를 저장할 기본 폴더입니다. 기본 값은 '사용자 데이터 폴더\Xshell\Logs'입니다. 세션의 로그가 저장되는 곳은 해당 세션에서 따로 정할 수 있습니다.
ScriptFolderPath 세션 파일에서 지정할 때나 메뉴에서 스크립트를 호출할 때 열리는 기본 폴더입니다. 기본 값은 '사용자 데이터 폴더\Xshell\Scripts'입니다.
AutoSaveHostKey SSH 접속일 경우 호스트 키에 대한 손도장 정보를 자동으로 저장합니다. 처음 접속하는 호스트이거나 관리자의 설정으로 호스트 키가 변경된 경우 Xshell은 호스트 키 저장 여부를 묻습니다. 기본 값은 0(사용자 확인)
InputCRLF = Enter 키의 값을 CRLF로 보낼 수 있습니다. 기본 값은 0(LF만 보냄)입니다.
ExitAllTabClose 모든 세션에 명령 보내기 등이 켜진 상태에서 모든 세션이 동시에 닫힐 경우 Xshell 윈도우를 닫습니다. 기본 값은 0입니다.
StopScrollOnLButtonDown 화면 출력이 마우스 외쪽 버튼을 누르고 있는 동안 중지됩니다. 기본 값은 1(사용)입니다.
OpenXftpNewWin 현재 연결된 세션 정보를 이용하여 Xftp를 호출할 때 새 창으로 엽니다. 기본 값은 기존 창의 새 탭으로 여는 0입니다.
ComposeBarHistoryCount 작성 바에서 저장되는 명령어 내역의 개수입니다. 기본 값은 50(개) 입니다.
ComposePaneHistoryCount 작성 창에서 저장되는 명령어 내역의 개수입니다. 기본 값은 50(개)입니다.
SaveAppLog 프로그램 자체의 로그를 [사용자 데이터 폴더]\Applog 폴더에 저장합니다. 기본 값은 0(저장하지 않음)입니다.
ImportFileOnDrop 로컬 셸에 마우스 끌어 놓기로 사용자 키 가져오기를 할 수 있습니다. 기본 값은 0(사용하지 않음)입니다.
JumpHostListenPort SSH 점프 호스트 기능을 이용할 때 점프 호스트로 사용하는 프록시 서버의 기본 포트입니다. 기본 값은 10000(번)입니다.
The available options are: AutoSaveHostKey In case of SSH connection, fingerprint information on the host key is automatically saved. If this is the first host to access or if the host key has been changed by the administrator's setting, Xshell asks whether to save the host key. Default value is 0 (user confirmation) | |
help | Show help for each command. For explanation of the ssh command, use the'help ssh' command. If'help' is entered without command, this help is displayed. |
ssh [user:pass@]host [port] | Connect using the SSH protocol. -pa Use Password authentication. Ignore other auth parameters(-A -i). |
Doe not use Xagent for user authentication. |
A user key for Public key authentication. |
Indicate the user's login name. |
defined, use password authentication. |
remote host. |
If the port is not specified, the default ssh port |
(22) is used. | |
sftp [user:pass@]host [port] | Connect using the SFTP protocol. |
telnet [user:pass@]host [port] | Connect using the telnet protocol. |
rlogin [user@]host [port] | Connect using the rlogin protocol. |
ftp [user:pass@]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 src ... [user:pass@]host:dest | Use the scp |
protocol to send or get the file to another server. |
...
-pa Use Password authentication. Ignore other auth parameters(-A -i). user Indicate the user's login name. |