首页 > 系统相关 >工程能力-远程JUNO-linux

工程能力-远程JUNO-linux

时间:2023-03-01 10:35:28浏览次数:33  
标签:Debian JUNO 远程 PermitRootLogin 远程桌面 linux 连接 ssh

工程能力-远程JUNO-linux

1 ping 通linux 地址

 

2 ssh/scp 连接/传输数据

ssh [email protected]

scp -P 22 README.md [email protected]:~/Desktop

问题:root密码输入,

Permission denied, please try again   可能原因是PermitRootLogin配置 3)$ sudo vim /etc/ssh/sshd_config 4)将PermitRootLogin prohibit-password更改为:PermitRootLogin yes   如果“PermitRootLogin prohibit-password”被注释,则取消注释并更改为PermitRootLogin yes

 

5)重启sshd

  $sudo systemctl restart sshd

putty也可以连接。

 

3 远程linux桌面

 $ lsb_release -a   了解到基于 linux的内核的开源操作系统Debian ,与ubuntu,CentOS都是并列的操作系统。   Debian 使用apt命令安装软件包 使用win10 中的远程桌面连接 去连接linux,应该如何操作。 搜索关键字:安装远程桌面服务(RDP)在Debian系统   需要安装远程桌面服务(RDP)在Linux系统   1)$sudo apt-get install xrdp   2) 使用win10  远程桌面连接 连接Debian   3)session 是XORG,第一次是闪烁,第二次就可以正常连接。   使用VNC还设置了密码 root123 VNC密码  

标签:Debian,JUNO,远程,PermitRootLogin,远程桌面,linux,连接,ssh
From: https://www.cnblogs.com/lx63blog/p/17167029.html

相关文章