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

Re: scp and sftp



On Mon, Apr 01, 2002 at 10:04:50AM -0300, Pedro Zorzenon Neto wrote:
> With the following commands, you can copy files without "scp":
> 
>   $ cat localfile | ssh somehost "cat > /somedir/remotefile"
>   $ ssh somehost "cat /somedir/remotefile" > localfile
> 
> So, it seems unusefull to disable "scp" and enable "ssh"...

You might want to enable ssh with /usr/bin/passwd as user's shell.
Disabling scp then seems to make sense.

Marcin
-- 
Marcin Owsiany <porridge@debian.org>             http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216


-- 
To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: