u123
u123

Reputation: 16327

Cannot copy to server using PSCP

I have downloaded PSCP from:

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

and added it to the PATH in windows 7. I now try to copy a file to a tomcat using the following :

pscp -P 8081 bob.txt mm@http://repository:/var/lib/tomcat5.5/webapps/bob.txt

based on the info from:

http://e-articles.info/e/a/title/Transfer-files-from-the-command-line-with-PSCP/

but I just get the error:

ssh_init: Host does not exist

If I login as the user 'mm' to the server using putty I can cd to the var/lib/tomcat5.5/webapps/ directory just fine. Any ideas on why the host is not located?

Upvotes: 0

Views: 3290

Answers (1)

ZeissS
ZeissS

Reputation: 12135

Are you really sure your host is "http://repository" ? I would guess it is only "repository". Try that.

Upvotes: 2

Related Questions