Uploading files via telnet instead of FTP to a RH 8 server?

Barry S. help at codefit.com
Sat Aug 7 05:54:30 UTC 2004


>If you control the ftp server your can make sure sshd is running on
>it.  If so then you would do like this:
>
>  scp my_file_to_upload user at ftp_host:/path/where/you/wantit/

Thanks much, It's RH 8 and I ran service sshd status and sshd is running on
server.
Also I'm using putty ssh on my desktop to send so does that qualify my
desktop PC?
Also have root server access.

For `scp myfile user at host:/path/', does the path represent the server path
where I
want the file copied to, or my desktop path?  Don't I also need to include
the
desktop path to the file in the command?









You should be prompted for users password at that point.

To test for sshd... if the ftp server is redhat you can probably run
   `service sshd status'   (This command requires root priviledge)
To find out.

Otherwise grepping the output of ps wwaux should find it if is a linux
machine and sshd is running:

   ps wwaux|grep sshd  (on the ftp server)

So to summarize:

  sshd must be running on receiving host
  ssh must be installed on sending host.

   You must have access to an account on ftp host (Know its password)

   With those things in place:
   `scp myfile user at host:/path/'

Follow the prompts from there


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list







More information about the redhat-list mailing list