1753878 Members
7253 Online
108809 Solutions
New Discussion

Re: scp protocol

 
SOLVED
Go to solution
zxcv
Super Advisor

scp protocol

Hi guys ,

Recently we had an audit of our servers where we were told to use scp instead of rcp .

i would like to use passwordless scp for a specific user  from server A to server B .

 

3 REPLIES 3
James R. Ferguson
Acclaimed Contributor
Solution

Re: scp protocol

Hi:

 

Mattl gave a simple description of scp/sftp public key setup here:

 

http://h30499.www3.hp.com/t5/System-Administration/sample-script-for-scp-and-sftp/m-p/4243294/highlight/true#M330281

 

Regards!

 

...JRF...

Doug O'Leary
Honored Contributor

Re: scp protocol

Hey;

 

I have a fairly detailed ssh users' guide available at http://www.olearycomputers.com/ll/ssh_guide.html which shows how to use public key authentication to get what you're looking for.

 

Once you're more familiar with ssh/pka, you can read the document that covers using ssh/pka as a means to directly access root and other sensitive accounts and why that's better than the standard "sudo su -" paradimg.  http://www.olearycomputers.com/ll/sudo_v_ssh-pka.html

 

Hope that helps.

 

Doug O'Le


------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
zxcv
Super Advisor

Re: scp protocol

Thanks :)