我有一台全新的 CentOs 6 机器,上面安装了 SoulsVM 和 OpenVz。
当我创建 VPS 时,它毫无问题地上线了。
当我尝试通过 SSH 连接到 VPS 时,系统提示“拒绝访问”。
我重置了密码十次,但每次都收到相同的消息。
我尝试使用主节点密码,它将我登录到主节点而不是虚拟机本身。
Linux xxx.xxx.xxx 2.6.32-042stab061.2 #1 SMP Fri Aug 24 09:07:21 MSK 2012 x86_64 x86_64 x86_64 GNU/Linux
这是我的 GRUB 文件:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/sda3
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
#splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title OpenVZ (2.6.32-042stab061.2)
root (hd0,1)
kernel /vmlinuz-2.6.32-042stab061.2 ro root=/dev/sda4 crashkernel=auto SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 KEYTABLE=us
initrd /initramfs-2.6.32-042stab061.2.img
title CentOS (2.6.32-279.5.2.el6.x86_64)
root (hd0,1)
kernel /vmlinuz-2.6.32-279.5.2.el6.x86_64 ro root=/dev/sda4 crashkernel=auto SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 KEYTABLE=us
initrd /initramfs-2.6.32-279.5.2.el6.x86_64.img
title CentOS (2.6.32-220.7.1.el6.x86_64)
root (hd0,1)
kernel /vmlinuz-2.6.32-220.7.1.el6.x86_64 ro root=/dev/sda4 crashkernel=auto SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 KEYTABLE=us
initrd /initramfs-2.6.32-220.7.1.el6.x86_64.img
title CentOS Linux (2.6.32-71.29.1.el6.x86_64)
root (hd0,1)
kernel /vmlinuz-2.6.32-71.29.1.el6.x86_64 ro root=/dev/sda4
initrd /initramfs-2.6.32-71.29.1.el6.x86_64.img
title CentOS (2.6.32-71.el6.x86_64)
root (hd0,1)
kernel /vmlinuz-2.6.32-71.el6.x86_64 ro root=/dev/sda4
initrd /initramfs-2.6.32-71.el6.x86_64.img
答案1
你可以说
vzctl 输入ID
如果您想通过 ssh 接入,那么您必须设置好您的网桥或 veth:您可以分享这方面的详细信息。