Linux學習之---Xshell

通過兩週的斷斷續續的學習,終於把慕課網上tony老師的《Linux網絡管理》基礎知識學完。tony老師講課風趣幽默,深刻淺出,爲老師打call!!shell

課程地址:https://www.imooc.com/learn/258ruby

 

今天看完了最後一講,老師講了幾個很是經常使用的Linux管理工具。bash

 

一、xshell

利用這個工具能在Windows上面遠程管理Linux。網絡

網上下載連接不少,我安裝以後一直沒法登陸個人Linux,原來是個人Linux上面沒有安裝SSH服務。ssh

1.檢測是否已安裝ssh服務,輸入如下命令工具

$ ssh localhost

出現如下提示則爲未安裝: 
ssh: connect to host localhost port 22: Connection refused 
(ssh:鏈接到主機本地主機端口22:鏈接被拒絕)學習

2.安裝ssh-serverui

$ sudo apt-get install openssh-server

3.啓動服務加密

$ sudo /etc/init.d/ssh start

啓動成功會提示: 
[ ok ] Starting ssh (via systemctl): ssh.service.spa

4.檢查服務是否啓動成功

$ ps -e|grep ssh

如有下面提示則啓動成功 
6455 ? 00:00:00 sshd

 另外:

啓動、中止、重啓SSH命令:

$ sudo /etc/init.d/ssh start //啓動SSH命令

$ sudo /etc/init.d/ss stop //中止SSH命令,從新鏈接你會發現不能再鏈接上了

$ sudo /etc/init.d/ss restart //重啓SSH命令

 

二、WinSCP

文件傳輸工具:(後臺也是SSH加密協議) win中的文件向Linux中拷貝,很是方便
官網下載:https://winscp.net/download/WinSCP-5.13.1-Setup.exe

 

參考資料:

https://blog.csdn.net/AirenMc/article/details/75735152

相關文章
相關標籤/搜索