最近新开了一个服务器,每次都用网页操做太麻烦,索性就用软件登陆(貌似界面还有vim支持的也比网页的好),在网上寻找半天,找到一个软件,感受特别好,html
名叫:mobaxterm,好像是免费的,你们能够本身Google下载。ubuntu
首先,打开界面,中间有个start local terminal ,大概意思是打开本地命令行吧,反正点他就对了vim
点开后就是比较熟悉的命令行界面,上面呢,会显示以下字符服务器
┌────────────────────────────────────────────────────────────────────┐ │ • 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 │ └────────────────────────────────────────────────────────────────────┘
反正也看不懂,就当作是软件自我介绍好了,下面进入正题ssh
代码一:(ps:我在阿里云买的服务器,学生优惠一个月9.9,ubuntu系统,自带ssh)阿里云
ssh root@www.baidu.com
这段代码很好理解,用ssh登陆远程服务器,root是远程用户名,我没改过因此就用的root,注意是远程系统上的。www.baidu.com是远程域名,这里我已近解析好了,直接输入网址就会解析到服务器上,固然,若是没有购买域名,还能够按以下写spa
ssh root@xxx.xxx.xxx.xxx
后面的x指的是外网ip,记住是外网ip,不是内网,在阿里云控制窗口能看到。.net
接下来看到相似以下代码,说明你登录成功了 注:阿里云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 !
然哦户就能够进行其余操做了code