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

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

 



>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@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@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@host:/path/'

Follow the prompts from there


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




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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux