虚位以待(AD)
虚位以待(AD)
首页 > 操作系统 > Ubuntu/Debian > Ubuntu开发服务器配置(SSHserver,登陆到远程服务器进行文件共享)

Ubuntu开发服务器配置(SSHserver,登陆到远程服务器进行文件共享)
类别:Ubuntu/Debian   作者:码皇   来源:万能的终端和网络     点击:

Server 端安装及配置:1 sudo apt-get install openssh-server2 etc ssh sshd_config RSAAuthentication yes PubkeyAuthentication yes AuthorizedKeysFile %h

Server 端安装及配置:

1. sudo apt-get install openssh-server

2. /etc/ssh/sshd_config

RSAAuthentication yes

PubkeyAuthentication yes

AuthorizedKeysFile %h/.ssh/authorized_keys

PasswordAuthentication yes

3. sudo /etc/init.d/ssh restart

4. ps -e |grepssh

如果看到sshd那说明ssh-server已经启动了

客户端安装及配置:

1. sudo apt-get install putty

2. putty 配置ip地址,

3. open, 接受ssh key cache 请求,在自动打开的terminal中输入用户名和密码,登陆成功

4. putty 个性化配置请参考网络文档。

通过文件浏览器的“登陆到远程服务器"实现个Ubuntu 系统文件的共享

1. 上面对服务器的配置

2. 在客户端机器上的文件浏览器的”文件“菜单中点击”登陆到远程服务器“

3. 输入服务器IP 地址,用户名和密码,登陆成功

4. 你向打开本地文件一样使用远程服务器的文件了。

相关热词搜索: 服务器 文件