command in authorized keys, password and keys file : weird behaviour ?
From: JL (jean-louis.ly@eads-telecom.com)
Date: 11/18/02
- Next message: Darren Dunham: "Re: Easy question on authorised_keys and AuthorisedKeysFile"
- Previous message: Bert Geys: "SSH web based"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: jean-louis.ly@eads-telecom.com (JL) Date: 18 Nov 2002 09:13:17 -0800
hello everyone
first of all i want to apologize for my poor english :)
then for the post
i know my subject may seem a bit confused
i'll explain
i've set up openssh 3.5p1 under bsd/os so i can log on a server with
both password and public key (not hard you would say)
then i edited the authorized_keys file so it can execute some commands
for example a test would be :
command="ls", ssh-dss .....
then when i log using the key associated, it executes ls and quits
until here everything is normal
then i wondered what would happen if i deleted my private key file
i did so and then tried to connect again
it asks for my password but then, executes ls and quits
though i deleted the private key file it still executes the command
associated to that key ?
i looked into it a bit further and i found that if there is at least
one of both key files (private or public) the server checks the
authorized_keys file (even if it is password authentication that
allows me in the server), executes the command associated to that key
and quits
bug or not ?
- Next message: Darren Dunham: "Re: Easy question on authorised_keys and AuthorisedKeysFile"
- Previous message: Bert Geys: "SSH web based"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|