ubuntu安装软件
4.1.Ssh连接
secureCRT连不上服务器,报错The remote system refused the connection。需要安装ssh。
SSH分客户端openssh-client和openssh-server
默认只安装openssh-client, 安装openssh-server提供ssh服务
dpkg -l | grep ssh
lipo@lipo-virtual-machine:~$ dpkg -l|grep ssh
ii libssh-4:amd64 0.6.3-4.3 amd64 tiny C SSH library (OpenSSL flavor)
ii openssh-client 1:7.2p2-4ubuntu2.4 amd64 secure shell (SSH) client, for secure access to remote machines
只有openssh-client
sudo apt-get install openssh-server安装
再次查看
lipo@lipo-virtual-machine:~$ dpkg -l |grep ssh
ii libssh-4:amd64 0.6.3-4.3 amd64 tiny C SSH library (OpenSSL flavor)
ii openssh-client 1:7.2p2-4ubuntu2.4 amd64 secure shell (SSH) client, for secure access to remote machines
ii openssh-server 1:7.2p2-4ubuntu2.4 amd64 secure shell (SSH) server, for secure access from remote machines
ii openssh-sftp-server 1:7.2p2-4ubuntu2.4 amd64 secure shell (SSH) sftp server module, for SFTP access from remote machines
ii ssh-import-id 5.5-0ubuntu1 all securely retrieve an SSH public key and install it locally
lipo@lipo-virtual-machine:~$ ps -e|grep ssh
11467 ? 00:00:00 sshd
出现sshd, 说明ssh服务启动了.
Ssh-server配置文件在/etc/ssh/sshd_config, 默认端口是22
Ifconfig查看ip
4.2.安装yum
sudo apt install yum
4.3.Curl
sudo apt install curl
4.4.上传下载
sudo apt install lrzsz
还没有评论,来说两句吧...