LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-08-2013, 03:51 PM   #1
Ra'Jiska
LQ Newbie
 
Registered: Apr 2013
Posts: 29

Rep: Reputation: Disabled
Linux Server Port 22 closed


Hey,

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
gdizzle
Member
 
Registered: Jul 2012
Posts: 202

Rep: Reputation: Disabled
So is the SSH module missing from Webmin: http://doxfer.webmin.com/Webmin/SSHServer

Maybe you have not just started the service?


Can you:

Code:
su -

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

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

Code:
sudo apt-get install openssh-server -y

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


Reply


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


All times are GMT -5. The time now is 06:07 AM.

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