SCP file transfer command on solaris | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

SCP file transfer command on solaris

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 09-28-2006
parthum parthum is offline
Registered User
 
Join Date: Sep 2006
Last Activity: 4 October 2006, 11:45 AM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Java SCP file transfer command on solaris

I need to transfer multiple files using SCP between two solaris machines. Can somebody explain how to achieve that ?
Sponsored Links
    #2  
Old 09-28-2006
systemsb systemsb is offline
Registered User
 
Join Date: Jan 2006
Last Activity: 27 November 2007, 8:52 AM EST
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
% scp /home/parthum1/* user2@machine:/home/parthum2

/home/parthum1/ - Source Directory
user2 - user name of the destination machine
machine - machine name or ip address of the machine
/home/parthum2 - destination directory
Sponsored Links
    #3  
Old 09-28-2006
parthum parthum is offline
Registered User
 
Join Date: Sep 2006
Last Activity: 4 October 2006, 11:45 AM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Ok.... since we have the basic command to copy the files.

Do any body know how to get around the password entry phase for the user on the remote machine.

I checked this article on the net which helps to "pass on passwords with SCP".
http://www.linuxjournal.com/article/8600

Any alternate ways available to "pass on passwords" instead of generating public/private keys ?

Thanks in advance.
    #4  
Old 09-28-2006
reborg's Avatar
reborg reborg is offline Forum Advisor  
Administrator Emeritus
 
Join Date: Mar 2005
Last Activity: 29 March 2012, 7:00 PM EDT
Location: Ireland
Posts: 4,464
Thanks: 0
Thanked 10 Times in 10 Posts
what would be the point of using scp then?

Why not just rcp them?
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Transfer files from windows to solaris with winscp (file protocol:SFTP) herbich1985 Solaris 6 05-07-2012 04:39 PM
scp command for file transfer shifahim UNIX for Advanced & Expert Users 2 10-11-2011 06:06 AM
File transfer from Windows to Solaris. nixhead Solaris 6 12-29-2010 03:16 PM
scp command for multiple file transfer. sangea Shell Programming and Scripting 2 09-24-2010 12:12 PM
sftp command for file transfer mohanpadamata UNIX for Advanced & Expert Users 2 06-12-2008 09:45 AM



All times are GMT -4. The time now is 03:13 PM.