0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

QNAPでmotdを有効にする。

Last updated at Posted at 2015-10-23

概要

デフォルトでは無効になっている、QNAPのmotdを有効にする。

環境

QTS 4.2.0

作業内容

1./etc/ssh/sshd_configの'PrintMotd yes'の行を有効にする(#を削除)
2.sshdを再起動する。# /etc/init.d/login.sh restart


再起動時にコネクションが切れる。
sshで接続が通常通りできるようなら手順6.へ。
sshで接続ができないようなら手順3.へ。

3.QNAPのWeb GUIの画面よりログイン。
4.「コントロールパネル」>「ネットワークサービス」>「Telnet/SSH」の接続許可を、一旦無効にして適用する。
5.「Telnet/SSH」の接続許可を有効にして適用する。
6.ホームディレクトリにある.profile内の"reset"をコメントアウトする。

参考

以上

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?