
皆様いつもお世話になっております。
terminal
1scp user@server.com:/home/user/export.sql /Users/user
以上を実行すると
terminal
1line 52: Bad configuration option: permitrootlogin 2terminating, 1 bad configuration options
とエラーが出ます。
terminal
1vi /etc/ssh/sshd_config
にて、permitrootloginはnoに設定済みです。
52行目は**# Change to yes if you don't trust ~/.ssh/known_hosts for**と書いてあります
terminal
1/etc/ssh/ssh_config
の52行目はPermitRootLogin noと書いてあります。
何故エラーが出るのでしょうか?
環境は、
ローカル:macOS mojave
リモート:Ubuntu18.04
以上です。
アドバイスとご教授のほどよろしくお願いします。
回答3件
あなたの回答
tips
プレビュー