rsyncのPermissionエラーの件下記のこと意外と触れていないので、あえて投稿
rsync -av -e ssh /var/www/html/xxxx user@999.999.999.999:/home/user/
で下記エラー
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(600) [sender=3.0.6]
vi /etc/ssh/sshd_config
にて
PasswordAuthentication no
を
PasswordAuthentication yes
に変更
Centos6
/etc/rc.d/init.d/sshd restart
Centos7
systemctl restart sshd
にてsshd再起動
More than 1 year has passed since last update.
rsyncのPermissionエラーの件
Last updated at Posted at 2022-06-23
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme