Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-08-2013, 03:51 PM   #1
Registered: Apr 2013
Posts: 47

Rep: Reputation: Disabled
Linux Server Port 22 closed


Here is my problem, I've a Linux server where Webmin is on, I recently installed tasksel and installed the LAMP server, and then, when I restarted, it closed the port 22.

I think the package openssh-server has been deleted, so I can't access on the server anymore. Is there a way to reinstall it without the access ?

By the way, with Webmin, I can launch shell commands, but the problem is when I launch sudo apt-get install openssh-server, it asks me for the confirmation of installation but when I answer yes, it tells me the command is unknown, it does not even wait for an answer.

Is there a way to launch the command and force it, for exemple skip the confirmation asking.

Thanks for your help.
Old 05-08-2013, 06:10 PM   #2
Registered: Jul 2012
Posts: 234

Rep: Reputation: Disabled
So is the SSH module missing from Webmin:

Maybe you have not just started the service?

Can you:

su -

apt-get install openssh-server -y
Can you paste the full error log when you do both:

As Root
apt-get install openssh-server -y
As your normal user.

sudo apt-get install openssh-server -y

Also can you try these commands via the Linux Console and not via Webmin.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Port Forwarding- Want to keep Port 587 incoming closed dman777 Linux - Networking 2 10-20-2011 09:33 PM
Apache 2 Port 80 closed on Netware 6.5 SP6 server rcozine Linux - Networking 5 08-30-2008 04:18 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration