首页 > Web开发 > 详细

Ubuntu 系统搭建php服务器 用ssh 远程操作

时间:2015-04-22 23:40:29      阅读:310      评论:0      收藏:0      [点我收藏+]

一:在桌面下载xshell客户端连接 ,vmavar 上的 Ubuntu系统,遇到的问题跟大家分享一下,希望大家少走弯路

  Ubuntu系统默认没有ssh server 要安装  

apt-get install openssh-server 服务端程序

apt-get install openssh-client 客户端程序

查看是否启动

ps -e|grep ssh

ps -e 是查看系统进程

看到sshd 说明ssh-server 已经启动

sshd 的开启与关闭

sudo /etc/init.d/ssh stop

sudo /etc/init.d/ssh start

二:在ssh-client登录的方式,用代码方式

ssh  linux上的用户名@linux的ip地址 

然后输入密码即可

 

Ubuntu 系统搭建php服务器 用ssh 远程操作

原文:http://www.cnblogs.com/lovezbs/p/4449010.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!