Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   xBTiT (http://www.bvlist.com/forumdisplay.php?f=30)
-   -   Putty - 'Server refused to allocate pty' (http://www.bvlist.com/showthread.php?t=10524)

Raful 11th October 2015 08:52

Putty - 'Server refused to allocate pty'
 
When I Access With Putty .. Its Showd ' Server refused to allocate pty'
SomeOne Plzz Help Me ??

Fynnon 11th October 2015 10:04

try with this one: https://www.netsarang.com/products/xsh_overview.html

Raful 11th October 2015 17:44

Quote:

Originally Posted by Fynnon (Post 47664)

its Not Now Working.... :suicide:

DND 11th October 2015 18:05

a simple google search will tell you that

http://serverfault.com/questions/233...o-allocate-pty

its so damn hard to use google nowadays

firefly007 11th October 2015 20:34

Quote:

Originally Posted by Raful (Post 47662)
When I Access With Putty .. Its Showd ' Server refused to allocate pty'
SomeOne Plzz Help Me ??

What linux distro are you using are using Deb 7 or Ubuntu 14.4 or greater. if you are then I guess you are logging in as root. if the following is all correct. the problem you are having is that you need to allow root login.. and this is how.

1) login with super user Eg firefly.

2) su into root.

Code:

# su root
If you have not set root password then type this

Code:

sudo passwd root
enter your superuser password

then you will be prompted to enter your new root password twice.

after that then try and su into root again

Code:

# su root
and enter the new password.

3) Once you are in root you will need to edit ssh conf

Code:

nano /etc/ssh/sshd_config
4) Once you are in the config file you need to find

Code:

StrictModes yes
and comment out like this

Code:

#StrictModes yes
5)

Then find

Code:

PermitRootLogin without-password
and comment out so it looks like this

Code:

#PermitRootLogin without-password
6

Then under

Code:

#PermitRootLogin without-password
add this

Code:

PermitRootLogin yes
7

Then scroll down its normally near the bottom file find

Code:

UsePAM yes
and change to

Code:

UsePAM no
8

Now save and exit

press

Code:

crl with x
Then hit

Code:

y
9

No you need to restart ssh

with

Code:

service ssh reload

DND 11th October 2015 21:59

but if he can't login with ssh and doesnt have access to the server itself...

Raful 12th October 2015 11:24

It Can't working
 
So I setup New OS and New script :mad:

sam144169 7th December 2015 13:28

Quote:

Originally Posted by Raful (Post 47670)
So I setup New OS and New script :mad:

exactly....that's the final option & ultimate solution....

Zuby 9th December 2015 10:59

Code:

PermitRootLogin yes
not a good ideea ...

maybe you want to say:

Code:

adduser user
Code:

passwd user
Code:

visudo
and add:
Code:

user ALL=(ALL:ALL) ALL
:P


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.