WebHosting

Thursday, March 29, 2012

localhost: ssh: connect to host localhost port 22: Connection refusedapt-get install openssh-server

If you get this error :


localhost: ssh: connect to host localhost port 22: Connection refused


Run the folloing command from the terminal


->     sudo apt-get install openssh-server 

2 comments:

  1. i ran the above comment on terminal..but i got the output as "hduser is not in the sudoers file.this incident will be reported".please help me.

    ReplyDelete
    Replies
    1. Is hduser has administrator rights?? if no make its account type to adminstrator or root and then try if above does not work try following :)

      Refer this http://maketecheasier.com/fixing-sudo-error-in-ubuntu/2012/01/03

      http://superuser.com/questions/120340/user-not-in-the-sudoers-file-this-incident-will-be-reported

      http://h4x3d.com/user-is-not-in-the-sudoers-file-this-incident-will-be-reported/

      Delete

Thank you for Commenting Will reply soon ......

Featured Posts

Warp AI Terminal 🔥 | The Future of Coding? Agentic Dev Environment Explained!

  Warp AI Terminal 🔥 | The Future of Coding? Agentic Dev Environment Explained! What if your terminal could think, assist, and even act li...