Security Basics mailing list archives

Re: ssh key problem


From: Ansgar -59cobalt- Wiechers <bugtraq () planetcobalt net>
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


Current thread: