Manjaro - 18.0 - 共通事項 - SSH サーバ


クラウディア 


1. 概要
2. 起動

1. 概要

 SSH サーバはデフォルトでインストールされていて、有効化されていないだけのようです。  root ユーザで

# systemctl status sshd.service
● sshd.service - OpenSSH Daemon
   Loaded: loaded (/usr/lib/systemd/system/sshd.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
 本項は「How to Enable SSH Service in Manjaro Linux – tuxfixer.com」を参考にさせていただきました。

2. 起動


# systemctl enable sshd.service
Created symlink /etc/systemd/system/multi-user.target.wants/sshd.service → /usr/lib/systemd/system/sshd.service.

# systemctl start sshd.service

# systemctl status sshd.service
● sshd.service - OpenSSH Daemon
   Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2018-12-26 08:40:23 JST; 7s ago
 Main PID: 1384 (sshd)
    Tasks: 1 (limit: 4715)
   Memory: 1.6M
   CGroup: /system.slice/sshd.service
           └─1384 /usr/bin/sshd -D

12月 26 08:40:23 man18kde systemd[1]: Started OpenSSH Daemon.
12月 26 08:40:23 man18kde sshd[1384]: Server listening on 0.0.0.0 port 22.
12月 26 08:40:23 man18kde sshd[1384]: Server listening on :: port 22.