LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-29-2005, 02:08 PM   #1
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 14.04 64-bit
Posts: 230

Rep: Reputation: 30
Copy files from my PC to server


Was using FileZilla all this time but now I got to use Putty.

How do I copy file(s) from my WinXP PC to my Fedora server for which I have root access. - Actually I got to use su - in order to switch to root - this is the reason why I cant use FileZilla or WinSCP - because they wont run commands that require user input.

Thanks
 
Old 12-29-2005, 06:13 PM   #2
msl
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Rep: Reputation: 0
use winSCP

1. Start your ssh daemon on the server
2. winSCP your file to your user account, as root should be disallowed ssh access
3. ssh to your server and move the file wherever you like

--Matt Linzer
 
Old 12-29-2005, 07:33 PM   #3
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Alternatively, setup an FTP daemon on your Fedora server, connect with Filezilla to transfer the file. Then SSH to move the file wherever you like. anjanesh is right though, you shouldn't ssh as root...
 
Old 12-29-2005, 11:14 PM   #4
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 14.04 64-bit
Posts: 230

Original Poster
Rep: Reputation: 30
Ah..Thanks
This is pretty tedious. Login in user, copy file and then login into ssh and swtich user to root and then move file internally.
Why isnt there an easier way out ?
 
Old 12-29-2005, 11:52 PM   #5
nitinatindore
Member
 
Registered: Dec 2004
Location: India
Distribution: Mandrake, Mandriva, PclinuxOS
Posts: 114

Rep: Reputation: 15
You should have looked at this thread i think, b4 starting a new one.

http://www.linuxquestions.org/questi...d.php?t=396662
 
Old 12-29-2005, 11:56 PM   #6
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Is this server on your local LAN? If so, just use Samba...
 
Old 12-30-2005, 12:28 AM   #7
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 14.04 64-bit
Posts: 230

Original Poster
Rep: Reputation: 30
Thanks for the link nitinatindore.
Quote:
Is this server on your local LAN?
- No - Im accessing it remotely.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
copy support-files/mysql.server, how do I tommytomato Fedora 2 11-13-2009 10:58 PM
how to copy files from a remote server man1979 Linux - General 3 08-16-2005 06:08 AM
how to copy files from my linux server. luqman Red Hat 1 02-24-2005 09:45 AM
copy files using SSH from a server to another..both remote Santosh_d Linux - Networking 6 03-10-2004 11:02 PM
copy files from a server to another..both remote Santosh_d Linux - Networking 1 03-09-2004 07:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration