2017-03-17 8 views
0

rsyncを使用して、ローカルホストからサーバーにファイルを転送しようとしています。しかし、これは起こることですrsyncの実行中にこのエラーが発生するのはなぜですか?

[email protected]_def:~$ rsync -v -e ssh textfile.txt 
[email protected]:/home/test 
ssh: connect to host 123.45.67.890 port 22: Connection timed out 
rsync: connection unexpectedly closed (0 bytes received so far) [sender] 
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.0] 
[email protected]_def:~$ 
+0

[SSHサーバの可能性の重複は、xxxはポート22をホストに接続します。接続はlinux-ubuntuでタイムアウトしました](http://stackoverflow.com/questions/12172188/ssh-server-connect-to-host-xxx-port-22-connection-timed-out-on-linux-ubuntu) – Jakuje

答えて

0

oops私はクリアして今すぐ動作していますが、コマンドに間違いがありました。

のrsync -av -P -e '1111 -p sshの' TEXT.TXT [email protected]:/ホーム/ ABC

関連する問題