Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #201947 > unrolled thread

startup prob

Started byGlenn English <ghe2001@gmail.com>
First post2018-10-31 19:30 +0100
Last post2018-11-01 00:00 +0100
Articles 8 — 6 participants

Back to article view | Back to linux.debian.user


Contents

  startup prob Glenn English <ghe2001@gmail.com> - 2018-10-31 19:30 +0100
    Re: startup prob john doe <johndoe65534@mail.com> - 2018-10-31 19:50 +0100
    Re: startup prob Reco <recoverym4n@enotuniq.net> - 2018-10-31 19:50 +0100
    Re: startup prob mick crane <mick.crane@gmail.com> - 2018-10-31 20:10 +0100
    Re: startup prob Brian <ad44@cityscape.co.uk> - 2018-10-31 21:40 +0100
      Re: startup prob mick crane <mick.crane@gmail.com> - 2018-10-31 22:20 +0100
    Re: startup prob Cousin Stanley <cousinstanley@gmail.com> - 2018-10-31 23:30 +0100
      Re: startup prob Glenn English <ghe2001@gmail.com> - 2018-11-01 00:00 +0100

#201947 — startup prob

FromGlenn English <ghe2001@gmail.com>
Date2018-10-31 19:30 +0100
Subjectstartup prob
Message-ID<wP3pD-77z-1@gated-at.bofh.it>
stretch, RPi

Just installed stretch on an RPi. SSH doesn't start on boot. No
problem with postfix, apache, proftp, bind, etc, as far as I know.

I tried to have it start at boot via Webmin; systemd said it wouldn't
do that without a command. It didn't say what kind of command it
wanted or where to put it, but there are several commands on the
system.

I went to /etc/init.d. There's an ssh script there, and systemd
started the server when I ran the script.

I went to /etc/default, and the script there said it was sourced into
an init.d script.

The man page talks a lot about how to start things, but I couldn't
find anything about where to put the data.

Anyone know the incantation to make the s word start ssh? A link to
clear dox on the innards of s.*d would probably be enough. So would a
quick howto.

-- 
Glenn English

[toc] | [next] | [standalone]


#201948

Fromjohn doe <johndoe65534@mail.com>
Date2018-10-31 19:50 +0100
Message-ID<wP3J0-7dM-1@gated-at.bofh.it>
In reply to#201947
On 10/31/2018 7:21 PM, Glenn English wrote:
> stretch, RPi
> 
> Just installed stretch on an RPi. SSH doesn't start on boot. No
> problem with postfix, apache, proftp, bind, etc, as far as I know.
> 
> I tried to have it start at boot via Webmin; systemd said it wouldn't
> do that without a command. It didn't say what kind of command it
> wanted or where to put it, but there are several commands on the
> system.
> 
> I went to /etc/init.d. There's an ssh script there, and systemd
> started the server when I ran the script.
> 
> I went to /etc/default, and the script there said it was sourced into
> an init.d script.
> 
> The man page talks a lot about how to start things, but I couldn't
> find anything about where to put the data.
> 
> Anyone know the incantation to make the s word start ssh? A link to
> clear dox on the innards of s.*d would probably be enough. So would a
> quick howto.
> 

What do you get with the following command:

$ systemctl status ssh

-- 
John Doe

[toc] | [prev] | [next] | [standalone]


#201949

FromReco <recoverym4n@enotuniq.net>
Date2018-10-31 19:50 +0100
Message-ID<wP3J0-7dM-5@gated-at.bofh.it>
In reply to#201947
	Hi.

On Wed, Oct 31, 2018 at 06:21:54PM +0000, Glenn English wrote:
> stretch, RPi

Is it stretch or Raspbian stretch?


> Just installed stretch on an RPi. SSH doesn't start on boot. No
> problem with postfix, apache, proftp, bind, etc, as far as I know.

So it's Raspbian stretch.

https://www.raspberrypi.org/documentation/remote-access/ssh/

Reco

[toc] | [prev] | [next] | [standalone]


#201950

Frommick crane <mick.crane@gmail.com>
Date2018-10-31 20:10 +0100
Message-ID<wP42l-7zh-5@gated-at.bofh.it>
In reply to#201947
On 2018-10-31 18:21, Glenn English wrote:
  find anything about where to put the data.
> 
> Anyone know the incantation to make the s word start ssh? A link to
> clear dox on the innards of s.*d would probably be enough. So would a
> quick howto.

"systemctl enable sshd"

isn't it ?

mick
-- 
Key ID    4BFEBB31

[toc] | [prev] | [next] | [standalone]


#201953

FromBrian <ad44@cityscape.co.uk>
Date2018-10-31 21:40 +0100
Message-ID<wP5rr-8gl-13@gated-at.bofh.it>
In reply to#201947
On Wed 31 Oct 2018 at 18:21:54 +0000, Glenn English wrote:

> stretch, RPi
> 
> Just installed stretch on an RPi. SSH doesn't start on boot. No
> problem with postfix, apache, proftp, bind, etc, as far as I know.

I would probably install again and choose *only* the ssh task. It's
10 minutes of my time.

On first boot I would

  systemctl status ssh.service

and go from there.

Of course, you haven't installed stretch but have installed stretch
plus a load of other things. It shouldn't make any difference but its
instructive to get back to the bare minimum.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#201954

Frommick crane <mick.crane@gmail.com>
Date2018-10-31 22:20 +0100
Message-ID<wP64a-h1-15@gated-at.bofh.it>
In reply to#201953
On 2018-10-31 20:33, Brian wrote:
> On Wed 31 Oct 2018 at 18:21:54 +0000, Glenn English wrote:
> 
>> stretch, RPi
>> 
>> Just installed stretch on an RPi. SSH doesn't start on boot. No
>> problem with postfix, apache, proftp, bind, etc, as far as I know.
> 
> I would probably install again and choose *only* the ssh task. It's
> 10 minutes of my time.
> 
> On first boot I would
> 
>   systemctl status ssh.service
> 
> and go from there.
> 
> Of course, you haven't installed stretch but have installed stretch
> plus a load of other things. It shouldn't make any difference but its
> instructive to get back to the bare minimum.

there's 2 components the ssh server and the ssh client
don't think that ssh server is installed by default.
so that would be the first thing.

mick


-- 
Key ID    4BFEBB31

[toc] | [prev] | [next] | [standalone]


#201956

FromCousin Stanley <cousinstanley@gmail.com>
Date2018-10-31 23:30 +0100
Message-ID<wP79T-SN-3@gated-at.bofh.it>
In reply to#201947
Glenn English wrote:

> ....
> Anyone know the incantation to make the s word start ssh
> ....

  You might try .... 

  $ sudo raspi-config

    select .... 
  
      interface

        ssh


  I don't remember if a reboot is required ....
  
  

-- 
Stanley C. Kitching
Human Being
Phoenix, Arizona

[toc] | [prev] | [next] | [standalone]


#201958

FromGlenn English <ghe2001@gmail.com>
Date2018-11-01 00:00 +0100
Message-ID<wP7CV-134-3@gated-at.bofh.it>
In reply to#201956
On Wed, Oct 31, 2018 at 10:27 PM Cousin Stanley <cousinstanley@gmail.com> wrote:

>   $ sudo raspi-config
>
>     select ....
>
>       interface
>
>         ssh

Worked perfectly. Thank you. And from me: Duh...

>   I don't remember if a reboot is required ....

I'm not sure because I didn't try both ways, but it asked if I want to
reboot. It worked when I said 'Yes'.

-- 
Glenn English

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web