View Single Post
  #5  
Old 11th October 2015, 20:34
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
Quote:
Originally Posted by Raful View Post
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
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote