![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FTP Download username and password | kumarrana | UNIX for Dummies Questions & Answers | 2 | 05-11-2008 05:45 PM |
| How to use SFTP from command line without entering user and password | Hangman2 | UNIX for Advanced & Expert Users | 5 | 03-03-2008 09:03 AM |
| Entering secret password | chiru_h | Shell Programming and Scripting | 4 | 08-20-2007 02:31 PM |
| username password in script | roshanjain2 | Shell Programming and Scripting | 5 | 02-13-2007 02:47 AM |
| setting username and password for ftp | div | UNIX for Advanced & Expert Users | 1 | 12-08-2006 08:09 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Remote Copy without entering Username and Password
I tried the following script to copy one file automatically:
#!/bin/csh -f su - root -c "rcp 150.10.128.1:/export/home/sn408Xl/sn408Sol/$fn $fn This works fine but is there a better way to copy remotely without entering the username and password? Moreover, after the file is copied a message shows up that the file is copied. I don't want this message to show up. For your info, I'm using Solaris. Thanks! |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Best way is to use scp (part of ssh). Search the forums for examples (such as this thread ).
As far as the second part of your question, you would need to redirect stdout/error - see this post. |
||||
| Google The UNIX and Linux Forums |