ssh服务器安装、远程软件安装、
1. 常见的远程终端软件
Xshell 官网下载 https://www.netsarang.com/zh/xshell/
Terminus 官网下载 http://www.termius.com
2.服务器环境配置
服务器上安装一个软件,允许客户端通过远程终端连接上来。
一般情况比较流行的就是安装ssh服务器
sudo apt-get install openssh-server
修改配置文件,将PermitRootLogin 修改为yes
vi /etc/ssh/sshd_config
重启ssh服务
service sshd restart
服务器上的软件环境,配置完成。
3.远程终端安装
1. Termius 安装
注册
new host
输入user名称
输入密码
完成
2.Xshell安装
自定义选择安装位置
完成
3.紧急情况
没有终端软件,怎么操作远程服务器数据。
远程终端使用的是ssh协议进行访问的。
协议:约定、商定的规则。
使用系统命令提示符窗口,指定使用ssh进行连接即可。
语法:ssh 账号@IP地址
输入密码,即可接入远程服务器。
C:\Users\Administrator>ssh [email protected]
The authenticity of host '192.168.13.156 (192.168.13.156)' can't be established.
ECDSA key fingerprint is SHA256:N3QWNDoiQt6Rq9oEbnZeYMA05as/e2GGZW08XivdpsM.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.13.156' (ECDSA) to the list of known hosts.
[email protected]'s password:
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-20-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
* Canonical Livepatch is available for installation.
- Reduce system reboots and improve kernel security. Activate at:
https://ubuntu.com/livepatch
31 个可升级软件包。
22 个安全更新。
Last login: Sat Apr 13 17:05:48 2019 from 192.168.13.149
[email protected]:~$