I have LM18.1 Mate on a small box (inxi output below), that I want to ssh to. I installed openssh etc, all is working well.
Except that it does not automatically start after login. I have to manually run
sudo service ssh starteverytime (after that, it works).
I googled a bit and tried some solutions :
- I added "sudo service ssh start" to /etc/rc.local.
sudo systemctl enable ssh.socketfrom http://askubuntu.com/questions/3913/sta ... er-on-boot, which is supposed to work with systemd that LM18 uses
sudo update-rc.d ssh defaults, from the same askubuntu page, which apparently only works with sysV (I guess this is the previous startup system, I dont know much about this stuff)
I also looked at /etc/network/if-up.d and there is indeed an entry called openssh-server with permissions rwxr-xr-x as the other entries there, so looks good to me. As much as I can decipher the content, I understand it's indeed supposed to put ssh up and running.
I dont know what gets wrong.
Code: Select all
~ $ inxi -Fxz System: Host: fabien-HP-Compaq-dc7600-Small-Form-Factor Kernel: 4.4.0-53-generic x86_64 (64 bit gcc: 5.4.0) Desktop: MATE 1.16.1 (Gtk 3.18.9-1ubuntu3.1) Distro: Linux Mint 18.1 Serena Machine: System: Hewlett-Packard product: HP Compaq dc7600 Small Form Factor Mobo: Hewlett-Packard model: 09F8h Bios: Hewlett-Packard v: 786D1 v01.03 date: 05/18/2005 CPU: Single core Intel Pentium 4 (-HT-) cache: 2048 KB flags: (lm nx sse sse2 sse3) bmips: 6379 clock speeds: max: 3200 MHz 1: 2800 MHz 2: 2800 MHz Graphics: Card: Intel 82945G/GZ Integrated Graphics Controller bus-ID: 00:02.0 Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) Resolution: email@example.com GLX Renderer: Mesa DRI Intel 945G GLX Version: 1.4 Mesa 11.2.0 Direct Rendering: Yes Audio: Card Intel NM10/ICH7 Family High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0 Sound: Advanced Linux Sound Architecture v: k4.4.0-53-generic Network: Card: Broadcom NetXtreme BCM5752 Gigabit Ethernet PCI Express driver: tg3 v: 3.137 bus-ID: 3f:00.0 IF: enp63s0 state: up speed: 100 Mbps duplex: full mac: <filter> Drives: HDD Total Size: 80.0GB (12.1% used) ID-1: /dev/sda model: SAMSUNG_HD080HJ size: 80.0GB Partition: ID-1: / size: 71G used: 7.0G (11%) fs: ext4 dev: /dev/dm-1 ID-2: /boot size: 472M used: 164M (37%) fs: ext2 dev: /dev/sda1 ID-3: swap-1 size: 2.13GB used: 0.04GB (2%) fs: swap dev: /dev/dm-2 RAID: No RAID devices: /proc/mdstat, md_mod kernel module present Sensors: None detected - is lm-sensors installed and configured? Info: Processes: 194 Uptime: 57 min Memory: 639.4/1991.9MB Init: systemd runlevel: 5 Gcc sys: 5.4.0 Client: Shell (bash 4.3.461) inxi: 2.2.35