[clue] scp help?

Collins Richey crichey at gmail.com
Sat Sep 8 10:40:47 MDT 2012


On Sat, Sep 8, 2012 at 10:11 AM, Mike Bean <beandaemon at gmail.com> wrote:
> Hi guys, I'm hoping you can help me understand what I'm doing wrong.  At my
> job we usually mostly CentOS and certificates to authenticate instead of
> passwords.
>
> My laptop is linux Mint 12, and for the most part I have no problem getting
> where I need to go to get my work done.
>
> it's just sudo ssh -i (path to my cert) -l (mylogin) (some destination
> server)
>
> But every so often, I need to SCP a file up to one of the servers.
>
> I've tried reading the man pages, and if I'm not totally mistaken -i should
> do it, but when I try
>
> scp (some file) -i [path to my cert] mylogin:someserver (destination
> directly on some server)
>
> it usually prompts me for a password, which, frankly, I don't have.
>

AFAIK, ssh -i ... is for connecting using a key (not a cert) that is
authorized at the server. Whether you are prompted for a passphrase
depends on how the key pair was generated. You need to google for 'ssh
using certificates'. There's quite a number of hits to help you.

---
Collins Richey
     If you fill your heart with regrets of yesterday and the worries
     of tomorrow, you have no today to be thankful for.


More information about the clue mailing list