OpenVZ Forum


Home » General » Support » *SOLVED* ssh connection problem in guest OS
*SOLVED* ssh connection problem in guest OS [message #16167] Sun, 26 August 2007 13:36 Go to previous message
gogisnim is currently offline  gogisnim
Messages: 4
Registered: August 2007
Junior Member
Hi, everyone ~

In guest OS, I can't connect ssh.

host ip - 1.1.1.200
guest ip - 1.1.2.200

host # vzctl create 2200 --ostemplate gentoo-2.6.18
host # vzctl set 2200 --save --onboot=yes --ipadd 1.1.2.200 --nameserver 1.1.1.200 --nameserver 168.126.63.1 --hostname guest --diskspace 700000:750000 --userpasswd test:1111
host # vzctl start 2200 && vzctl enter 2200

guest # ssh root@1.1.1.200
PRNG is not seeded
guest #


I read /dev/random create.

host # vzctl exec 2200 mknod /dev/random c 1 8

guest # ssh root@1.1.1.200
Host key verification failed.


I tried to connect into local sshd of guest.

guest # /etc/init.d/sshd start
 * Generating RSA-Hostkey...
PRNG is not seeded


This is my system info.

host # cat /etc/vz/conf/2200.conf
ONBOOT="yes"

AVNUMPROC="40:40"
NUMPROC="65:65"
NUMTCPSOCK="80:80"
NUMOTHERSOCK="80:80"
VMGUARPAGES="6144:2147483647"

KMEMSIZE="2752512:2936012"
TCPSNDBUF="319488:524288"
TCPRCVBUF="319488:524288"
OTHERSOCKBUF="132096:336896"
DGRAMRCVBUF="132096:132096"
OOMGUARPAGES="6144:2147483647"

LOCKEDPAGES="32:32"
SHMPAGES="8192:8192"
PRIVVMPAGES="49152:53575"
NUMFILE="2048:2048"
NUMFLOCK="100:110"
NUMPTY="16:16"
NUMSIGINFO="256:256"
DCACHESIZE="1048576:1097728"
PHYSPAGES="0:2147483647"
NUMIPTENT="128:128"

DISKSPACE="700000:750000"
DISKINODES="200000:220000"
QUOTATIME="0"

CPUUNITS="1000"
VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vz/private/$VEID"
OSTEMPLATE="gentoo-2.6.18"
ORIGIN_SAMPLE="vps.basic"
IP_ADDRESS="1.1.2.200"
HOSTNAME="guest"
NAMESERVER="1.1.2.200 168.126.63.1"


guest # df -h
Filesystem            Size  Used Avail Use% Mounted on
simfs                 684M  452M  233M  67% /
tmpfs                 220M   76K  220M   1% /dev
tmpfs                 220M     0  220M   0% /dev/shm


guest # mount
simfs on / type simfs (rw)
proc on /proc type proc (rw,nosuid,nodev,noexec)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
tmpfs on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec)



Thank you

[Updated on: Sun, 26 August 2007 22:00]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: Could not reserve enough space for object heap
Next Topic: *solved* vzmigrate arp issues?
Goto Forum:
  


Current Time: Thu Sep 05 15:26:36 GMT 2024

Total time taken to generate the page: 0.06163 seconds