LoginSignup
0
0

More than 1 year has passed since last update.

rsyncのPermissionエラーの件

Last updated at Posted at 2022-06-23

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再起動

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