Unable to connect to Ubuntu through Putty

Asked By 0 points N/A Posted on -
qa-featured

Hello everybody,

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.

SHARE
Answered By 0 points N/A #193092

Unable to connect to Ubuntu through Putty

qa-featured

Hello Faye

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.

Login/Register to Answer

Related Questions