Secure Shell (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network.[1] Typical applications include remote command-line login and remote command execution, but any network service can be secured with SSH.ubuntu
爲了搭建一個交叉編譯的環境,windows環境下遠程鏈接登陸Ubuntu server,須要SSH訪問。windows
首先,選一個合適的SSH工具。app
推薦:MobaXterm,顏值,功能全面,開源免費;ssh
而後,配置ubuntu server端:工具
安裝ssh服務,sudo apt-get install sshurl
/etc/ssh/sshd_config文件,.net
Port 22 #ssh服務的端口號rest
ListenAddress 192.168.1.1 #ssh服務的地址server
PasswordAuthentication yes #打開密碼認證blog
配置完畢後,重啓啓動ssh服務:
sudo /etc/init.d/ssh restart
啓動後,能夠用ps -ef | grep ssh檢驗是否存在ssh server相關的服務。
最後,配置windows client端:
建立ssh會話,填寫端口,server地址,登陸信息便可。