Skip site navigation (1)Skip section navigation (2)
Date:      30 Jul 2003 07:06:30 -0700
From:      LLeweLLyn Reese <llewelly@lifesupport.shutdown.com>
To:        DanB <longterm@chatusa.com>
Cc:        freebsd <questions@freebsd.org>
Subject:   Re: SCP where does the file xfer to?
Message-ID:  <x3r8489kih.fsf@lifesupport.shutdown.com>
In-Reply-To: <3F250CC4.DF6B5646@chatusa.com>
References:  <3F250CC4.DF6B5646@chatusa.com>

next in thread | previous in thread | raw e-mail | index | archive | help
DanB <longterm@chatusa.com> writes:

> SCP where does the file xfer to?         scp   file.tar.gz
> longterm@chatusa.com

It's not enough to just give a username and a machine name. You need
    tell scp *where* on the remote machine you want the file put:

$ scp file.tar.gz longterm@chatusa.com:.

The colon (':') seperates the hostname from the file path. If the
    colon isn't there, scp won't recognize the 2nd parameter as a
    target on a remote machine.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?x3r8489kih.fsf>