Database Administration (MOSC)

MOSC Banner

Script for SCP

edited Oct 30, 2013 7:35AM in Database Administration (MOSC) 9 commentsAnswered
Note:passwordless ssh is not enabled and currently wont be able to setup due to some restrictions.

Shell : ksh

OS : AIX

1. need the command for SCP to transfer files from one server to another using PASSWORD on the command line.

EX:

scp <user_1>@&lt;host_1>:<PATH>_filename <user_2>@&lt;host_2>:<PATH>  .....password?

2.Script in which  USER and PASSWORD can be included to scp "MULTIPLE FILES" from different source directories to different target directories.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center