首页 > 系统相关 >ubuntu 设置 ssh 连接

ubuntu 设置 ssh 连接

时间:2023-03-09 23:57:03浏览次数:41  
标签:get sudo apt ssh install ubuntu 连接

  1. ubuntu 查看 ip 信息

    $ ifconfig
    
  2. 若提示找不到命令,则需安装 net-tools

    $ sudo apt-get install net-tools
    
  3. 安装openssl

    $ sudo apt-get install update
    $ sudo apt-get install openssh-server
    
  4. 启动 ssh 服务

    $ sudo service ssh start  或者  sudo /etc/init.d/ssh start
    

标签:get,sudo,apt,ssh,install,ubuntu,连接
From: https://www.cnblogs.com/liuzonglin/p/16815255.html

相关文章