Site5からGodaddyWebホスティングアカウントにファイルを転送しようとしています。godaddyウェブホスティングアカウントはドメインに無料で付属しているアカウントなので、sshアクセスはありません。
sudo scp -v @:/ home // wordpress.tar -o'StrictHostKeyChecking no '@ www.domain.com:/home/content/m/c/o//wordpress.tar
宛先はgodaddy無料ホスティングアカウントであり、その上のユーザー名はftpユーザー名です。
godaddy ftpuserのパスワードを入力しようとすると、次のエラーが発生します
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Trying private key: /root/.ssh/id_ecdsa
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: password
[email protected]'s password:
debug1: Authentications that can continue: publickey,password,keyboard-interactive
Permission denied, please try again.
[email protected]'s password:
debug1: Authentications that can continue: publickey,password,keyboard-interactive
Permission denied, please try again.
[email protected]'s password:
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: No more authentication methods to try.
Permission denied (publickey,password,keyboard-interactive).
lost connection
私はここで何が間違っているのですか?
編集(問題のデバッグに役立つようにさらにいくつか)
FTPZillaを使用しようとすると、FTPポートを使用してサーバーに正常に接続します。ポート22を配置するとすぐに、RSAを受け入れ、エラーが発生します。
Response: fzSftp started
Command: open "[email protected]" 22
Command: Trust new Hostkey: Once
Command: Pass: ************
Error: Authentication failed.
Error: Critical error
Error: Could not connect to server
編集2
ssh対応のsite5サーバーからのFTPは、次のエラーを出します
ftp [email protected]
ftp: [email protected]: unknown host
sftp
とftp
は完全に異なるプロトコルなので、一方の端にssh / sftpアクセスがないと言う場合、scpオプションを説得することに価値はないと思います。
私は個人的にあなたがアクセスできる最後までSSHで接続し、アクセスできるプロトコルを使用してファイルをプッシュ(またはプル)します。あなたが使用していたftp
:
user@home$ ssh [email protected]
user@server$ ftp server2.com
> # login here
> cd /the/right/path
> mget *
> mput *
> bye
両方 mget
またはを必要としないmput
場合は、ファイルをプッシュまたはプルする方向に適したものを選択してください。
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加