SSH to Linux VM gets error – Server refused to allocate pty

Believe or not, there are shops where 100% of workloads are physical. Sooner or later they are realize that technology is moving forward and they have to make decision to go virtual. I had such a case in one my recent projects. I was able successfully P2V several Linux RHEL 5.11 to Nutanix Acropolis. After migration of dev box, when I tried to do SSH (using Putty), I got error – Server refused to allocate pty.

Quick google search pointed me to RHEL KB where you can find solution. It is know bug (for older RHEL distros) on virtual machies with RHEL. You have to log in to VM over console and run

That’s it. this is


Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur holds VMware Certified Design Expert certification (VCDX #077).