html tool

2017年6月29日星期四

solaris set ssh

https://docs.oracle.com/cd/E18930_01/html/821-2426/gksja.html

To Set Up SSH on Oracle Solaris Systems

  1. Ensure that the following options in the configuration file /etc/ssh/sshd_config are set to yes:
    • StrictModes
    • PubkeyAuthentication
  2. Determine if the SSH server daemon sshd is running.
    $ /usr/bin/svcs ssh
  3. If the SSH server daemon sshd is not running, start this daemon.
    If the daemon is running, no further action is required.
    $ /usr/sbin/svcadm enable ssh
Example 2-2 Determining if the sshd Daemon Is Running on an Oracle Solaris System
This example confirms that the SSH server daemon sshd is running on an Oracle Solaris system.

$ /usr/bin/svcs ssh
STATE          STIME    FMRI
online         Jul_06   svc:/network/ssh:default

没有评论:

发表评论