Quote:
Originally Posted by Raful
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.
If you have not set root password then type this
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
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
and comment out like this
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
and change to
8
Now save and exit
press
Then hit
9
No you need to restart ssh
with