N/APosted on - 07/10/2014
I am having a server with Ubuntu running in it. I am having another system with Windows 7.
When I am trying to connect to Ubuntu server using putty from my Windows 7 it is throwing an error "access denied". But when I am using the same credentials in Ubuntu server, it is working fine.
What could be the issue here? How can I troubleshoot this issue? Please help out. Your help in this regard will be highly appreciated. I thank you so much in advance.
Unable to connect to Ubuntu through Putty
To access a another system using putty, first you should tweak the sshd_config file.
To do so, execute the following steps
(a) At the terminal type
sudo nano /etc/ssh/sshd_config .
(b) In the configuration file search for line which reads Allowusers here add to Allowusers <username> .
(c) Save the file using Ctrl+O and then quit nano using Ctrl+X
(d) Then type
sudo service sshd restart
(e) This loads the new configuration. Basically we have allowed the new user to login using the ssh.