LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-20-2007, 07:53 AM   #1
psandeepnair1985
LQ Newbie
 
Registered: Mar 2007
Posts: 9

Rep: Reputation: 0
Question Using scp without user name and password


Hello friends,

Is there any way to use the scp command to transfer files from one system to another without using username and password.

I did ssh key sharing.....So i am able to do scp without entering password...............


Can any one tell me how to use scp without entering even user name
 
Old 11-20-2007, 08:12 AM   #2
wolfperkins
Member
 
Registered: Oct 2007
Location: Val-des-Monts, Québec, Canada
Distribution: CentOS, RHEL, Fedora
Posts: 110

Rep: Reputation: 16
You can run scp like this:

Code:
$ scp ./myfile.doc userid@host:/folder
If your key is installed on the remote server's authorized_keys, the copy should be seamless
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
scripting a password for scp kennmurrah Linux - Software 4 10-15-2007 09:47 AM
SSH/SCP with no password wh33t Linux - Software 11 06-09-2007 11:38 PM
SCP without Password help ignignokt Linux - Networking 3 01-02-2007 11:59 AM
scp, don't prompt password!! dlublink Linux - Networking 1 01-03-2005 12:54 PM
scp and no password mikeyt_333 Linux - General 2 03-26-2002 03:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration