I am trying to setup a debian webserver. Seems no services will run until I log in.
Installed minimal debian stretch edition with no GUI desktop.
Is there a way to make openssh-server run without a login being required?
I installed these packages:
sudo
net-tools
openssh-server
samba
apache2
ssmtp
mariadb
php7.0
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
How to get services to start without being logged in?
Re: How to get services to start without being logged in?
Found the solution on Google almost immediately after posting this.
Code: Select all
sudo update-rc.d ssh defaults
- dilberts_left_nut
- Administrator
- Posts: 5346
- Joined: 2009-10-05 07:54
- Location: enzed
- Has thanked: 13 times
- Been thanked: 66 times
Re: How to get services to start without being logged in?
Server processes all generally start automatically once installed.
Some require extra configuration and enabling in the config file, but ssh isn't one of them.
Some require extra configuration and enabling in the config file, but ssh isn't one of them.
AdrianTM wrote:There's no hacker in my grandma...
Re: How to get services to start without being logged in?
generic answer:mhouser wrote:Is there a way to make openssh-server run without a login being required?
yes.
Code: Select all
systemctl enable openssh