Article 6M3X4 Server refused to allocate pty => error cygwin putty.exe murugesandins@127.0.0.1

Server refused to allocate pty => error cygwin putty.exe murugesandins@127.0.0.1

by
murugesandins
from LinuxQuestions.org on (#6M3X4)
I am not able to login using putty.exe to
murugesandins@127.0.0.1
It is reporting following error:
Server refused to allocate pty
Using bash.exe at command prompt:
=========
murugesandins@127.0.0.1 /home/murugesandins [ 0 ]
$ /usr/bin/ssh murugesandins@127.0.0.1
PTY allocation request failed on channel 0
murugesandins@127.0.0.1 OS Microsoft Windows 11 Single Language, 64-bit (build 22631)
Last logon Tue 16-Apr-2024 03:33 PM
/home/murugesandins
Connection to 127.0.0.1 closed.
===============
I faced this issue 3 weeks ago
Re-installed sshd
and daily restart for more than 10 days it resolved
How can I resolve at localhost?
a)
$ grep TTY /etc/sshd_config
#PermitTTY yes
not working after restarting system and sshd service
b)
$ grep TTY /etc/sshd_config
PermitTTY yes
not working after restarting system and sshd service
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments