Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Using Perl to do SCP

by Roger (Parson)
on Sep 15, 2004 at 15:14 UTC ( #391204=note: print w/replies, xml ) Need Help??


in reply to Using Perl to do SCP

I thought if you configure the Public/Private keys properly on the machines, you won't *need* a password?

Replies are listed 'Best First'.
Re^2: Using Perl to do SCP
by Rhys (Pilgrim) on Sep 15, 2004 at 15:50 UTC
    Remember, I'm not talking about servers, I'm trying to SCP files from switches, so they don't have as sophisticated a key-handling scheme. They want to have a single DSA key pair. Using the same key pair on every switch creates a new security risk, plus it is sort of a pain to set up. Using different keys for each switch would be a major pain to set up.

    But it goes beyond that. Since SSH is already enabled on each switch, the OS won't let you run the keygen command on the switch. I.e. it won't create or load the keys until SSH is disabled. We use SSH to get to the switches. Catch-22.

    Hence, I need to use password-based authentication (for now).

    --J

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://391204]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2020-12-01 06:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?