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

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值