Putty - 'Server refused to allocate pty'
When I Access With Putty .. Its Showd ' Server refused to allocate pty'
SomeOne Plzz Help Me ?? |
try with this one: https://www.netsarang.com/products/xsh_overview.html
|
Quote:
|
a simple google search will tell you that
http://serverfault.com/questions/233...o-allocate-pty its so damn hard to use google nowadays |
Quote:
1) login with super user Eg firefly. 2) su into root. Code:
# su root Code:
sudo passwd root then you will be prompted to enter your new root password twice. after that then try and su into root again Code:
# su root 3) Once you are in root you will need to edit ssh conf Code:
nano /etc/ssh/sshd_config Code:
StrictModes yes Code:
#StrictModes yes Then find Code:
PermitRootLogin without-password Code:
#PermitRootLogin without-password Then under Code:
#PermitRootLogin without-password Code:
PermitRootLogin yes Then scroll down its normally near the bottom file find Code:
UsePAM yes Code:
UsePAM no Now save and exit press Code:
crl with x Code:
y No you need to restart ssh with Code:
service ssh reload |
but if he can't login with ssh and doesnt have access to the server itself...
|
It Can't working
So I setup New OS and New script :mad:
|
Quote:
|
Code:
PermitRootLogin yes maybe you want to say: Code:
adduser user Code:
passwd user Code:
visudo Code:
user ALL=(ALL:ALL) ALL |
All times are GMT +2. The time now is 09:03. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.