[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: ssh again



On Tue, Jun 14, 2016 at 03:37:47PM +0100, Lisi Reisz wrote:
> Here is a repeat of my earlier failed attempt.
> 
> peter@Nyx-II:~/Lisi$ scp /home/peter/Pictures/Winter\ Dream\ II.jpg 
> lisi@192.168.0.2:/home/lisi/Pictures?Winter\ Dream\ II.jpg
> lisi@192.168.0.2's password:
> scp: ambiguous target
> peter@Nyx-II:~/Lisi$
> 
> This was the method that had worked from .2 to .3.  (Logged into .3 from .2, 
> copied from .2 to .3 - that's how that picture got there!!)
> 
> Lisi
> 
> ----------  Forwarded Message  ----------
> 


Watch your slashes :)

scp /ome/peter/Pictures/Winter\ Dream\ II.jpg lisi@192/168.0.2:/home/lisi/Pictures/Winter\ Dream\ II.jpg

to be honest, I'd be tempted to make a copy of the picture as Winterdream2.jpg - that way you don't have to escape 
spaces with the backslash

HTH,

AndyC


Reply to: