Transfer a file from remote server to remote server

Siddharth

I am trying to transfer a file from Site5 to Godaddy web hosting account. The godaddy webhosting account is the one that comes free with the domain, so no ssh acccess.

sudo scp -v @:/home//wordpress.tar -o 'StrictHostKeyChecking no' @www.domain.com:/home/content/m/c/o//wordpress.tar

The destination is a godaddy free hosting acccount, and the username on it is the ftp user name.

I am getting the following error when I try to enter the password of the 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

What am I doing wrong here ?

Edit (some more to help debug the issue)

When I try using FTPZilla, with FTP port it connects to the server fine. As soon as I put port 22, it accepts the RSA thingy and gives a error.

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

Edit 2

Ftp from the ssh enabled site5 server, gives the following error

ftp  [email protected]
ftp: [email protected]: unknown host
Oli

sftp and ftp are completely different protocols so, if as you say you don't have ssh/sftp access at one end, I don't think there's any value in persuing a scp option.

I would personally ssh into the end you do have access at and then use whatever protocol you have access to to push (or pull) the files across. In you were using ftp:

user@home$ ssh [email protected]
user@server$ ftp server2.com
> # login here
> cd /the/right/path
> mget * 
> mput *
> bye

You don't want both mget or mput, just pick the one that suits the direction you're pushing or pulling files.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Mongodump from remote server

From Dev

Using fabric to copy file from one remote server to another remote server?

From Dev

SCP from remote server to another remote server

From Dev

Run script file on remote server

From Dev

Rename file on remote server on Python

From Dev

c# Transfer file from remote machine to terminal server

From Dev

MVC Download File from Remote Server

From Dev

Transfer a file from remote server to remote server

From Dev

Mongodump from remote server

From Dev

FileZilla: Transfer file remote server to remote server from a local computer

From Dev

SCP from remote server to another remote server

From Dev

tail file from remote server and nslookup on local

From Dev

Write file from remote server to local directory?

From Dev

Winsock upload file to remote server

From Dev

Transfer large file from remote server to remote workstation

From Dev

Servlet download File from remote Server

From Dev

How to transfer file from remote server to local machine using with ssh

From Dev

Bigfile transfer to remote server

From Dev

How to set up WinSCP to transfer a file to a remote ABCI server

From Dev

MVC Download File from Remote Server

From Dev

How to transfer files from remote ubuntu server to remote ubuntu server?

From Dev

upload file from Android device to a remote server

From Dev

Transfer of Big Data to remote server for saving

From Dev

GIT: Push to remote from remote server

From Dev

jQuery File tree from remote Server

From Dev

Reading file from remote server using groovy

From Dev

Uploading a file from react to remote server

From Dev

PHP scp file from remote server

From Dev

How to mirror file from remote server?

Related Related

HotTag

Archive