Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Auto fill password in shell script?
- Date: Tue, 01 Feb 2011 21:38:52 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: [tlug] Auto fill password in shell script?
- References: <4D4671BA.2030504@example.com>
Dave M G writes: > I tried to see if I could get my main web hosting service to set up a > key pair so I could log in via SSH without a password, like I do on my LAN. > > But no, they have set their system up to not allow that. Can't say I > blame them. I can see how that might be a security risk. Sure, but (a) Unix passwords are generally weaker than SSH key pass phrases, and (b) you're in even more trouble with expect, since the passwork will appear in the clear in the script. It doesn't matter how you slice it, it's at least as easy to break security of password logins as it is with automated agent + private key logins. (At least, that's what the books I read years ago say; conventional wisdom may have changed since then.) I doubt that will convince your hosting service, though. And I wouldn't mention your script to them; I doubt they will like that at all if the real reason for not allowing private key logins is security paranoia. ;-)
- Follow-Ups:
- Re: [tlug] Auto fill password in shell script?
- From: Raymond Wan
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Auto fill password in shell script? [SOLVED]
- Next by Date: Re: [tlug] Auto fill password in shell script?
- Previous by thread: Re: [tlug] Auto fill password in shell script? [SOLVED]
- Next by thread: Re: [tlug] Auto fill password in shell script?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links