Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Strange behavior with ssh and man #258
Hi, I'm trying to put together a simple script for quickly spinning up a few barebone Hyperkit instances (ubuntu, cloud-init, vmnet).
However I'm noticing some anomalies that look like VM corruption, so I'm putting this as an issue as maybe someone can point me in the proper direction.
Tested on 2 systems:
brew install hyperkit brew install qemu # needed for creation of cloud-init ISO curl https://raw.githubusercontent.com/youurayy/k8s-hyperkit/master/hyperkit.sh -O - chmod +x hyperkit.sh ./hyperkit.sh image # will download ubuntu into ./tmp ./hyperkit.sh master # launches hyperkit # login <yourusername>, password 'test'
# from inside the VM: # issue 1.: ssh localhost # will say: ssh_dispatch_run_fatal: Connection to 127.0.0.1 port 22: incorrect signature # (^ that's just the minimal case, I've found it by trying to ssh from the outside, # it happens no matter what kex/ciphers are chosen, seems like something is disrupting the crypto) # issue 2.: man bash # outputs gibberish
Hyperkit invocation (
hyperkit \ -A \ -H \ -U 24AF0C19-3B96-487C-92F7-584C9932DD96 \ -m 4G \ -c 2 \ -s 0:0,hostbridge \ -s 2:0,virtio-net \ -s 31,lpc \ -l com1,stdio \ -s 1:0,ahci-hd,/Users/juraj/github/k8s-hyperkit/tmp/master/ubuntu-18.04-server-cloudimg-amd64.raw \ -s 5,ahci-cd,/Users/juraj/github/k8s-hyperkit/tmp/master/cloud-init.iso \ -f "kexec,../ubuntu-18.04-server-cloudimg-amd64-vmlinuz-generic,../ubuntu-18.04-server-cloudimg-amd64-initrd-generic,earlyprintk=serial console=ttyS0 root=/dev/sda1"
I've also tried to compile Hyperkit from source, even a few commits back, but no change.
If your key is at
Another thing of note is that while this is an APFS filesystem with support for sparse files (and the
Thanks, any help is appreciated.
ps. Docker for Mac is not installed on either machine.
So far I've narrowed it down to a failing test in Ubuntu's
which is in turn caused by
I need to find a way how to get to the bottom of this, because when I rebuild the