Hi Everyone,
I am trying to use the basic scp command in Linux to transfer a file over to a windows system, my syntax is as follows: scp <filename> <username)@<serveraddress>:directory. But the command keeps timing out. Any one have any thoughts? Thanks in advance!
Windows, unlike most Unices, doesn't ship with any subsystem that would make (automated) remote administration even remotely feasible. That includes a lack of an SSH server.
You can try running the one that runs via Cygwin, and I've heard that there's a Windows port of the original OpenSSH server too. Never tried it, tho.
That's strange, would it still be giving me a usage?
Huh?
Quote:
Originally Posted by twhitmarsh
I'm trying to do this with no built-ins. I'm running a x86_64-redhat box. Any thoughts?
SSH isn't a built-in, on no OS. It just ships with most UNIX-like systems (like Linux), which means that it's included in the distribution the same way as Apache, OpenOffice, or gcc. You can check this by using
Windows, OTOH, ships (in it's current desktop variant) on a DVD, but without such nice perks as multiple desktop environments, office suit, useful email program, web server, ... Or an SSH server. It doesn't matter what your UNIX-like system is, without an installed SSH server on the Windows side of the communication channel it won't have a clue what your trying to do.
ok, so there is no way to push files from a linux machine to a windows machine without installing 3rd party applications, without using a mount, right?
---------- Post updated at 02:37 PM ---------- Previous update was at 02:24 PM ----------
I think I figured it out. One last question, who can I call a program from linux which is located on a Windows Machine to run on the windows machine. Meaning if \\mywindowsmachine..compant.net\e$\program.exe is on the Windows Box, can I run something like a psexec from the Linux box to launch program.exe? I will do some more searching on it, I think I know a command in Linux that will do this.
Basically, I'm finding it very hard to push from Linux to Windows, but so much easier to Pull files from Linux to Windows.
All the programs you've mentioned so far are third party applications on Linux, too. The difference is that for Linux a distributor provides an easy and streamlined method to install them. And you'll need a tool similar to SSH in order to start a program on the Windows box, there's just no way around that. If you don't want to use SSH, you can try telnet, but that's pretty much it with the options you have.
hi
i downloaded nic demo application from nic.comuf.com.
working fine ,but when i run batch script ,always display splash screen maybe 10 sec.
how can i remove splash screen when run batch script.?
thanks
z (2 Replies)
Hii Master,
im will copy file/directory aix to windows with scp commandline,
but some error below:
Note: If ping to 172.16.0.250 reply and was connected, and was open/allow port 22 at windows server inbound
In aix finish installing ssh
in windows finish installing winscp
my... (3 Replies)
Hi
I'd like to copy file ( or directory ) from a window server to an unix server using scp command, something like this
scp -rp admin@10.0.99.99:C:\Documents and Settings\abc.txt /home/oracle/abc.txtI tried testing something like command above but nothing worked.
Somebody help !! Thank you (7 Replies)
Hi Team,
I Have list file in Unix server, I need to copy files from Windows to Unix for the list of files given in Unix list file.
after coping files to unix, I need to delete the files from Windows.
i used SCP and moved files from windows to unix based on list file is done and working.... (1 Reply)
Can I use scp command to throw a file from my Solaris box to Windows under this path "C:\work\SSL" ?
If so, Please help me with a syntax.
Also help me with any alternatives I can try.
Solaris ----> Windows . (2 Replies)
I need a shell script to copy files frm a linux machine to a windows machine using SCP. The files keeps changing day-to-day. I have to copy the latest file to the windows machine frm the linux machine.
for example :In Linux, On July 20, the file name will be 20.txt and it should be copied to... (3 Replies)
Hi,
I installed OpenSSH for Windows v3.8.1 on a Windows Server 2003 R2.
From my pc (which is running windows XP), I can run commands like scp to the server.
But its prompting me for a password.
I googled some more and found out about the public/private keys which i set up.
But... (2 Replies)
Hi...
my problem is that I want to copy one html-file to my windows-box webserver using scp.
so far no problem but the destination is in /cygdrive/c/program files/dest and as we all know unix doesnt like spaces in paths.
scp html.file user@windowsbox:/cygdrive/c/program... (5 Replies)