在Windows上通過putty遠程登入CentOS

來源:互聯網
上載者:User

標籤:找不到   server   預設   主機名稱   remove   centos   自動設定   選項   install   

目的:在windows上通過putty(或者secureCRT)遠程登入centos6.5

硬體:centos6.5伺服器一台,windows客戶機一台

軟體:ssh、putty(或者SecureCRT)

 

centos6.5端操作步驟

yum install openssh-server

安裝過程中,系統會自動設定好,如果找不到包,就更新一下軟體源。

 

更新軟體源步驟:

1. 刪除之前的更新列表

sudo rm /var/lib/apt/lists/* -rvf  

2. 清理一下垃圾:

sudo apt-get autoremove

sudo apt-get autoclean

3. 更新一下引導啟動項
 
sudo update-grub

4.  擷取最近的列表

sudo apt-get update

 

Windows通過ssh服務遠程登入centos6.5

Windows端有多種登入centos伺服器的方法,這裡只介紹putty和SecureCRT。

一、使用putty:

1.安裝putty並開啟;

2.輸入centos伺服器的IP地址;

3.按照提示輸入使用者名稱,然後輸入密碼即可登入。

二、使用SecureCRT:

1. 安裝SecureCRT並開啟;

2. 點擊快速串連,協議選擇SSH2,主機名稱填寫centos伺服器的IP地址,使用者名稱填寫centos伺服器的使用者名稱之一,其他選項預設,然後點擊串連;

3. 按照提示輸入對應於上步中使用者名稱的密碼,選擇儲存密碼,點擊確定即可登入centos伺服器。

4. 設定一下SecureCRT,選項 -- 會話選項 -- 外觀,使用中色彩方案選擇白/黑,字型選擇16號,字元編碼選擇UTF-8(否則中文會亂碼),點擊確定即可。、

 

Linux通過ssh服務遠程登入centos6.5

Linux安裝ssh後(安裝方式和centos類似)。

 

在終端輸入以下命令用來登入和退出:

登入:

ssh [email protected]伺服器主機ip

退出:

exit 

其他要說明的問題

1. Windows和centos要能互相ping通,否則無法登陸。

2. 如果不能ping通,首先考慮centos的防火牆是否讓ssh服務通過,然後考慮Windows和centos有沒有在同一個區域網路內(當然,高手也可以設定成非區域網路也可登入,即也可以互相ping通)。

 

putty: http://download.csdn.net/detail/u010787933/8097347

SecureCRT: http://download.csdn.net/detail/u010787933/8097317

winscp(可用在Windows端和centos互相拷貝檔案):http://download.csdn.net/detail/u010787933/8097355

 

原文連結:http://blog.csdn.net/geng823/article/details/40591943

 

在Windows上通過putty遠程登入CentOS

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.