#1  
Old 5th March 2007, 01:19
knowram knowram is offline
Member
 
Join Date: Feb 2007
Posts: 33
Thanks: 0
Thanked 1 Time in 1 Post
Default scp with password

Is there anyway to add a password into the scp command string?
something like.

scp file me@192.168.0.101 password location
Reply With Quote
Sponsored Links
  #2  
Old 5th March 2007, 08:25
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

If you don't want to enter password, you will need to use keys. Use ssh-keygen to create a private/public key pair, copy the public part to the destination server ($HOME/.ssh/authorized_keys) and there you go: no more password typing.
Reply With Quote
  #3  
Old 5th March 2007, 18:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Maybe these tutorials are interesting for you:
http://www.howtoforge.com/mirroring_with_rsync
http://www.howtoforge.com/linux_rdiff_backup
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 6.06 LTS during ISPConfig MySQL root password error...stuck?? Randall Hoffman General 5 13th March 2007 15:01
ISPConfig Mysql root password issue ?? Stuck at install Randall Hoffman Installation/Configuration 1 16th January 2007 20:53
MAJOR DUMB USER - I messedup when setting MySQL root password HELP ThE-LyNX Installation/Configuration 1 7th December 2006 23:26
Where is the user password saved torusturtle Installation/Configuration 2 20th June 2006 14:40
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40


All times are GMT +2. The time now is 06:54.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.