Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Security-Basics
[Top] [All Lists]

Re: ssh key problem

Subject: Re: ssh key problem
Date: Fri, 7 Jan 2005 22:50:42 +0100
On 2005-01-07 Thomas Reinhold wrote:
Ansgar -59cobalt- Wiechers wrote:
On 2005-01-07 Thomas Reinhold wrote:

[ SSH keys on USB stick ]

Everything is working fine, but now after having put my keys on a
usb-stick the ssh-client doesn't accept them anymore due to bad file
permissions (not restrictive enough). I can change those permissions
while the usb device is mounted, but after remounting they are set
back to the old state.

Is there any way to tell the ssh-client to ignore those file-
permissions?

What kind of filesystem do you use on that USB stick? Maybe the issue
can be solved by using appropriate mount options rather than
circumventing the insecure permissions warning.

it's mounted as vfat. I don't think I can change it, for the usb
device is also an mp3-player which wouldn't play music anymore if the
file system would be changed.

Try mounting the device with "-o uid=`id -u`,umask=077", maybe that will
do the trick.

Regards
Ansgar Wiechers
-- 
"Those who would give up liberty for a little temporary safety
deserve neither liberty nor safety, and will lose both."
--Benjamin Franklin

<Prev in Thread] Current Thread [Next in Thread>