07-22-2015
ASK | How to scp command AIX to windows
Hii Master,
im will copy file/directory aix to windows with scp commandline,
but some error below:
Quote:
# scp -r /secript scpuser@172.16.0.250:/cygdrive/d/
ssh: connect to host 172.16.0.250 port 22: Connection refused
lost connection
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 expectation is will copying directory with SCP commandline and running crontab everyday
please your advice master
regards,
ruhul amin
Last edited by williamen; 07-22-2015 at 09:48 PM..
10 More Discussions You Might Find Interesting
1. Solaris
does anyone know of an app that is scriptable or automated to x-fer a file from win to unix using ssh? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
2. UNIX for Dummies Questions & Answers
scp file="myfile.txt" todir="user@somehost:(M:drive:/somepath/)"/
Not sure I need it to go to a specific drive on the windows box (1 Reply)
Discussion started by: xgringo
1 Replies
3. UNIX for Dummies Questions & Answers
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)
Discussion started by: cypher82
5 Replies
4. UNIX for Advanced & Expert Users
Hi,
When i run the code in solaris unix machine, the file from remote server is getting downloaded. but when i use the same code in IBM AIX remote machine, it is not running. It is saying "Erro during scp transfer." Below is the code.
Please give some resolution.
SCPClient client = new... (1 Reply)
Discussion started by: gravi2020
1 Replies
5. Windows & DOS: Issues & Discussions
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! (5 Replies)
Discussion started by: twhitmarsh
5 Replies
6. Windows & DOS: Issues & Discussions
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)
Discussion started by: wala_lang
2 Replies
7. UNIX for Dummies Questions & Answers
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)
Discussion started by: shifahim
2 Replies
8. UNIX for Dummies Questions & Answers
Hello,
Please assist me in using screen command in AIX to scp file to other server
Best regards,
Vishal (10 Replies)
Discussion started by: Vishal_dba
10 Replies
9. Windows & DOS: Issues & Discussions
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)
Discussion started by: spradeep86
1 Replies
10. AIX
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)
Discussion started by: bobochacha29
7 Replies
LEARN ABOUT DEBIAN
parallel-scp
PARALLEL-SCP(1) PARALLEL-SCP(1)
NAME
parallel-scp - parallel versions of scp
SYNOPSIS
parallel-scp [OPTIONS] -h hosts.txt local remote
DESCRIPTION
pssh provides a number of commands for executing against a group of computers, using SSH. It's most useful for operating on clusters of
homogenously-configured hosts.
parallel-scp copy files in parallel to a set of machines.
OPTIONS
-r --recursive
recusively copy directories (OPTIONAL)
-h --hosts
hosts file (each line "host[:port] [user]")
-l --user
username (OPTIONAL)
-p --par
max number of parallel threads (OPTIONAL)
-o --outdir
output directory for stdout files (OPTIONAL)
-e --errdir
output directory for stderr files (OPTIONAL)
-t --timeout
timeout (secs) (-1 = no timeout) per host (OPTIONAL)
-O --options
SSH options (OPTIONAL)
-v --verbose
turn on warning and diagnostic messages (OPTIONAL)
EXAMPLE
The following example runs hostname on three machines (IPs or hostnames) specified in the file ips.txt using login irb2 and saves the
output in /tmp/foo.
# parallel-scp -h ips.txt -l irb2 /etc/hosts /tmp/hosts
Success on 128.112.152.122:22
Success on 18.31.0.190:22
Success on 128.232.103.201:22
ENVIRONMENT
All four programs take similar sets of options. All of these options can be set using the following environment variables:
o PSSH_HOSTS
o PSSH_USER
o PSSH_PAR
o PSSH_OUTDIR
o PSSH_VERBOSE
o PSSH_OPTIONS
SEE ALSO
parallel-ssh(1), parallel-slurp(1), parallel-nuke(1), parallel-rsync(1), ssh(1), scp(1),
AUTHOR
Brent N. Chun <bnc@theether.org>
COPYING
Copyright: 2003, 2004, 2005, 2006, 2007 Brent N. Chun
NOTES
1. bnc@theether.org
mailto:bnc@theether.org
03/30/2009 PARALLEL-SCP(1)