查看内置命令

$help

Internal Commands:
new: Creates a new session.
open: Opens a session or the session dialog box.
edit: Opens the Session Property dialog box for a session.
list: Lists information of all available sessions.
cd: Changes the current working directory.
pwd: Shows the current working directory.
set: Sets options.
clear: Clears the screen/address/command history.
help: Displays this help. '?' does the same.
quit: Quits Local Shell. 'exit' does the same.
ssh: Connects to a host using the SSH protocol.
telnet: Connects to a host using the TELNET protocol.
rlogin: Connects to a host using the RLOGIN protocol.
sftp: Connects to a host to transfer files securely.
ftp: Connects to a host to transfer files.
disconnect: Closes connection of this session.
reconnect: Reconnects this session.

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

For more information, type 'help command' for each command.
e.g. help telnet

 

 查看某个内置命令的帮助,如ssh

$help ssh

NAME
ssh - connects to a host using the SSH protocol.

SYNOPSYS
ssh [-p ][-a ][user:pass@]host[ port][;host[ port]]

OPTIONS
-p Use Password authentication.
-a Use Xagent for user authentication.
user Indicates the user's login name.
pass If pass is definded, use password authentication.
host Indicates the name, alias, or Internet address of the
remote host.
port Indicates a port number (address of an application).
If the port is not specified, the default ssh port(22) is used.

举例:

ssh root@10.248.17.6 [22]

ssh root@10.248.17.6 5188

ssh root:krjx&1234@10.248.17.6 5188

 

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄