歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> 學習Linux >> 0005_Linux下的SSH連接操作,0005_linuxssh連接

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

日期:2017/3/3 17:21:33   编辑:學習Linux

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


熱度4 評論 43 www.BkJia.Com 網友分享於: 2017-02-28 04:02:28 浏覽數19337次

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.

http://www.bkjia.com/Linuxjc/1196038.htmlwww.bkjia.comtruehttp://www.bkjia.com/Linuxjc/1196038.html

Copyright © Linux教程網 All Rights Reserved