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

Shares

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.

login as: nutanix
nutanix@10.0.0.106's password:
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

mount devpts /dev/pts -t devpts

That’s it. this is

 

0 0 votes
Article Rating

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).

You may also like...

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x

FOR FREE. Download Nutanix port diagrams

Join our mailing list to receive an email with instructions on how to download 19 port diagrams in MS Visio format.

NOTE: if you do not get an email within 1h, check your SPAM filters

You have Successfully Subscribed!

Pin It on Pinterest