服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. chroot linux LXC
  3. SSH的chroot到lxc容器
Intereting Posts
Debian VIA驱动程序问题 在多台计算机上同步一个Outlook Express帐户? 消费级主板function的ESXi服务器 Windows Server 2016 Essentials和虚拟化权限 BGP到OSP​​F,反之亦然 – 为路由添加“权重”? 如何将default / tmp更改为/ home / user / tmp 有没有办法通过脚本来控制IDRAC控制台 邮件在根login时,而不是从本地主机login 在FIN,ACK之后的TCP连接RST nginxconfiguration无法find上传模块的configuration,而它绝对存在? SMTPvalidation失败+ PAM-MySQL无法validation Get-WmiCounter Win32_PerfFormattedData_NETFramework_NETCLRMemory在非pipe理环境中不完整 停止mongos进程 cpanel cronjobcurl增加文件大小 使用两个networking接口分离公司networkingstream量和互联网stream量

SSH的chroot到lxc容器

我有一台PC sshd服务(192.168.1.1)。
PC包含两个用户user1和user2。
我安装了lxc服务并configuration了一个容器。
我如何configuration192.168.1.1上的SSH服务器连接user2将chrooted到lxc容器。

  • vsftpd限制本地用户到家和组目录
  • 在Ubuntu上,如何devise一个监视器来在文件写入目录时运行进程?
  • 我如何正确地监禁Debian中的用户,让他们访问select的应用程序?
  • OpenSSH,ChrootDirectory,WinSCP。 我如何允许wget和tar?
  • 在ubuntu的PHP / MySQL托pipe多个chroots

OpenSSH可能被configuration为只允许特定的用户执行一个特定的命令,方法是将一个stringjoinauthorized_keys文件中的公钥。

这个:

 ssh-rsa <key> <key name> 

应该改成这个

 command="chroot command" ssh-rsa <key> <key name> 
  • 我如何设置单向scp?
  • 如何在vsftpd中创build虚拟用户?
  • Ubuntu的SFTP和Chrooting
  • 添加ChrootDirectory到sshd_config来监禁一个用户阻止用户login
  • chroot将用户关入一个目录
  • SFTP,Redhat上的chroot问题
  • gcc沙盒工具 – Ubuntu 12.04上的AppArmor / CHROOT监狱
  • 在chroot内更新
  • 无法通过chroot SSHlogin
  • 运行Web应用程序时,是否值得使用chroot?

  • © 2017 服务器 Gind.cn
  • Topics
  •        
  • Powered by Server
  • Privacy Policy