SecureCRT串連Linux–Ubuntu

來源:互聯網
上載者:User

SSH看做是telnet的加強版,telnet的密碼和資訊都是不加密的,而ssh則加密。

想用SecureCRT串連Linux--Ubuntu,需要SSH服務的支援,很多Linux系統在安裝的時候是不安裝SSH服務的,所以需要自己手動安裝,才能用SecureCRT串連Linux。

情境描述:

主機 Windows2003,虛擬機器VMware,虛擬機器系統Ubuntu 9.10

首先安裝SSH服務

輸入:sudo apt-get install openssh-server

啟動SSH服務

輸入:sudo /etc/init.d/ssh start

啟動之後可以檢查是否安裝成功並啟動

輸入:ssh -v

OpenSSH_5.1p1 Debian-6ubuntu2, OpenSSL 0.9.8g 19 Oct 2007
usage: ssh [-1246AaCfgKkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]
           [-D [bind_address:]port] [-e escape_char] [-F configfile]
           [-i identity_file] [-L [bind_address:]port:host:hostport]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-R [bind_address:]port:host:hostport] [-S ctl_path]
           [-w local_tun[:remote_tun]] [user@]hostname [command]

看到類似資訊,說明安裝並啟動成功!

安裝成功之後還需要修改配置才能使用

修改ssh配置 :
輸入:sudo pico /etc/ssh/ssh_config
去掉 PasswordAuthenitcation, Port 22 ,Protocol 2,1這三行前的注釋# 

注意哦,  ubuntu9.10裡沒有permitrootlogin之類的東西

這裡需要重啟一下系統。

重啟之後,設定SecureCRT串連Linux。

 

Protocol選擇SSH2,Hostname輸入Ubuntu的IP地址,Port輸入22,Firewall選擇none,username輸入Ubuntu的使用者名稱

點擊Connect

 

看到下面的資訊,說明串連成功了,可以用SecureCRT操作Linux了,不用再切換到虛擬機器進行操作了,呵呵!

 

 

SecureCRT串連Ubuntu顯示亂碼的問題

options->sessionOptions->appearance

將Character修改為UTF-8

將“User Unicode line drawing chara” 取消選中狀態

重新登入!

本文來自CSDN部落格,轉載請標明出處:http://blog.csdn.net/happyjiang2009/archive/2010/07/15/5738214.aspx

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.