can't scp file to remote host

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi all.  I'm trying to scp a file to a RedHat 8 server that I have root
access via sudo to.  I'm simply trying to scp a file to my home directory.

Other users can do this, so I know that the service is set up.  I have
this line in my /etc/ssh/sshd_config file:

Subsystem       sftp    /usr/libexec/openssh/sftp-server

When I attempt to transfer a file, I am prompted for my password, as
usual, and I get a very fast progress bar (asterisks on the command line),
and my prompt returns.  No errors are generated.  Problem is that the file
does not transfer.  Just to be sure, here is the command I use:

$ scp localfile

This does not work, and I'm really stumped as to why.  I've been reading
man pages and newsgroups for hours and can't find the problem.  Anyone
else have this problem?


Re: can't scp file to remote host

First, note that the sftp subsystem has nothing at all to do with using


  Richard Silverman

Site Timeline