ssh的作用 : 可实现远程客户端登录服务器并对服务器的文件进行操作
ssh服务器的安装
farsight@ubuntu:~$ sudo apt-get install openssh-server [sudo] password for farsight: 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 openssh-server 已经是最新的版本了。 openssh-server 被设置为手动安装。 下列软件包是自动安装的并且现在不需要了: realpath sbcl common-lisp-controller cl-asdf 使用'apt-get autoremove'来卸载它们 升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 579 个软件包未被升级。
ssh客户端的登录
farsight@ubuntu:~$ ssh litao@0.0.0.0 litao@0.0.0.0's password: Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-23-generic i686) * Documentation: https://help.ubuntu.com/ 583 packages can be updated. 355 updates are security updates. Last login: Mon Nov 9 00:42:17 2020 from localhost
ssh客户端的退出
litao@ubuntu:~$ logout Connection to 0.0.0.0 closed.
浙公网安备 33010602011771号