How SCP works?
Hi All,
Could anybody please let me know how to SCP command between Windows-Windows, and Windows-Linux5. I am comfortable with SCP between linux5 to windows. But vice-versa is not so convenient. Also, can we use SCP between two comps within same server , but in different offices ? Thank you in advance... Kapil. |
I use a program called "WinSCP" to handle it for me when I'm forced to work in Windows.
http://winscp.net/eng/index.php It's GPL and it works pretty nicely. I hope it helps you get the job done. |
Quote:
Thanks for the concern... but i am looking for inter-compatibility between windows and linux. i tried winscp, but it was not working across different platforms... could you please tell me how you used WINSCP at your end? Thanks again, Kapil. |
It works for me, to copy files between windows and linux and vice versa. Just insert the IP of the machine you want to connect to in the Host name field, fill up the User Name and Password fields and the trick is done. Or am I missing something?
|
Windows to Windows..hmm
SCP is basically a remote copy (rcp) through a SSH tunnel.. if you wanted to do windows to windows then you would need an ssh server running on both windows machines. http://en.wikipedia.org/wiki/Secure_copy WinSCP is just a client that can connect to and SCP to from a machine that is running ssh. I do like winscp and use it all the time. pscp is the Putty Secure Copy client that works from a command line in windows with the same restrictions as winscp SSH Servers for windows.. http://ist.uwaterloo.ca/~kscully/CygwinSSHD_W2K3.html http://web.mit.edu/pismere/ssh/ssh-port.html http://www.itefix.no/i2/copssh |
Quote:
Hi There, Thanks for the precious information... Could you please help in using SCP to copy files from windows to linux5. To do the vice-versa, this is what i used to do : Using Cygwin on WIn-XP machine : a) ssh user@IP (of linux machine) b) Provide the password of linux user c) once connected, I set the path on windows, where i want the file to be copied d) finally I use SCP to copy file from linux5 machine, as scp user@IP: <path of file with extension> . I am not able to copy files from windows to linux machine. Please help me in that. Thank You in advance... Kapil. |
If all you want to do is start from a windows machine and copy a file from a Linux box, and do it from the command line (don't know why you wouldn't just use winscp for this.. it's easier by far.) then I would use pscp.. Setting up cygwin just to copy a file is over kill imho.
Using PSCP to transfer files securely Putty is free, it's command line. Quote:
|
Quote:
Hi There, Thanks for the suggestion... Do we have any installer for winscp, or is it a bundled service for Windows ? Do we have any installer for SSH server for windows , as here, at my workplace, we don't have ssh server installed on windows machines. So, i can't ssh to windows machines either from Linux machine , or from other windows machine. I haven't used winscp, so it would be ebtter for me, if i can install SSH server on windows machine(s). please suggest me... Thank you, Kapil. |
Hi
current directory for the file . type scp -r <file name> usernemae@IP destination <where to copy> i suppose that the command if i did not forget . RGDS |
Quote:
You need to take a bit more initiative. http://www.linuxquestions.org/questi...57#post3361857 /me puts the spoon down and walks away. |
Quote:
I checked all of them before asking for this help. I didn't get any installer or any specific information there. one link there has nothing to do with my question, but it was informative as well... This has nothing to do with spoon-feeding ..... It is obvious, when you suggest someone to try a new thing, and especially for people like me, who are new to Linux, we might ask such silly but important questions... Thank you anyways, Kapil. |
Quote:
Thank you for the concern... I will try this information, and hopefully will resolve my query.. Thanks, Kapil. |
All times are GMT -5. The time now is 04:40 PM. |