1. 程式人生 > >[Linux]_ELVE_ssh登錄遠程阿裏服務器

[Linux]_ELVE_ssh登錄遠程阿裏服務器

als tab 尋找 size person 解析 接下來 terminal 註意

0x00 背景

最近新開了一個服務器,每次都用網頁操作太麻煩,索性就用軟件登錄(貌似界面還有vim支持的也比網頁的好),在網上尋找半天,找到一個軟件,感覺特別好,

名叫:mobaxterm,好像是免費的,大家可以自己Google下載。

首先,打開界面,中間有個start local terminal ,大概意思是打開本地命令行吧,反正點他就對了

點開後就是比較熟悉的命令行界面,上面呢,會顯示如下字符

     ┌────────────────────────────────────────────────────────────────────┐
     │                ? MobaXterm Personal Edition v10.
2 ? │ │ (X server, SSH client and network tools) │ │ │ │ ? Your computer drives are accessible through the /drives path │ │ ? Your DISPLAY is set to 192.168.1.156:0.0 │ │ ? When
using SSH, your remote DISPLAY is automatically forwarded │ │ ? Each command status is specified by a special symbol (? or ?) │ │ │ │ ? Important: │ │ This
is MobaXterm Personal Edition. The Professional edition │ │ allows you to customize MobaXterm for your company: you can add │ │ your own logo, your parameters, your welcome message and generate │ │ either an MSI installation package or a portable executable. │ │ We can also modify MobaXterm or develop the plugins you need. │ │ For more information: http://mobaxterm.mobatek.net/download.html │ └────────────────────────────────────────────────────────────────────┘

反正也看不懂,就當做是軟件自我介紹好了,下面進入正題

0x01 登錄

代碼一:(ps:我在阿裏雲買的服務器,學生優惠一個月9.9,ubuntu系統,自帶ssh)

ssh [email protected]

這段代碼很好理解,用ssh登錄遠程服務器,root是遠程用戶名,我沒改過所以就用的root,註意是遠程系統上的。www.baidu.com是遠程域名,這裏我已近解析好了,直接輸入網址就會解析到服務器上,當然,如果沒有購買域名,還可以按如下寫

ssh [email protected]

後面的x指的是外網ip,記住是外網ip,不是內網,在阿裏雲控制窗口能看到。

接下來看到類似如下代碼,說明你登陸成功了 註:阿裏雲ubuntu16.04

Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-63-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

Welcome to Alibaba Cloud Elastic Compute Service !

然哦戶就可以進行其他操作了

[Linux]_ELVE_ssh登錄遠程阿裏服務器