0005_Linux下的SSH连接操作,0005_linuxssh连接


1.启动SSH服务:service sshd start

2.开机自动启动SSH:chkconfig sshd on

3.获取Linux的ip地址:ifconfig

4.连接Linux的SSH:打开xshell,输入ssh [Linux IP地址]

5.SSH一般操作:

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.

相关内容

    暂无相关文章