2018-03-01 Linux コマンドメモ 前提 CentOS 7.4 サーバ設定 ユーザーがsudoできるか確かめる groups $user 公開鍵をサーバに渡してauthorized_keysに登録 ssh-copy-id -i $identity_file $user@$hostname sshの設定を変更 vi /etc/ssh/sshd_config # ssh_configではない general ls -CF