通过安装ssh与vsftpd 实现Xshell远程控制
一、安装ssh
- 判断是否安装ssh服务 - 1 
 2
 3- $ ssh localhost 
 //表示未安装
 ssh: connect to host localhost port 22: Connection refused
- 使用apt安装 - 1 - $ sudo apt-get install openssh-server 
- 启动服务 - 1 - $ sudo /etc/init.d/ssh start\ 
- 查看服务是否正常启动 - 1 - $ ps -e|grep ssh 
- 配置文件 - 1 - /etc/ssh/sshd_config 
- 使用shell连接 - 1 - $ ssh exceljava@192.168.158.129 
- centos安装与使用 - 检测是否安装 - 1 - rpm -qa | grep ssh 
- 安装 - 1 - yum install openssh-server 
- 启动ssh - 1 - service sshd start 
- 设置开机运行 - 1 - chkconfig sshd on 
- 参考链接:http://www.centoscn.com/CentOS/config/2013/0926/1713.html 
 
二,安装vsftpd实现文件传输
- 使用apt安装 - 1 - sudo apt-get install vsftpd 
- 有时可能需要更新软件源