Re: file tokens on login
- From: "Saif El Sherei" <SSherei@xxxxxxxxxxxx>
- Date: Tue, 14 Dec 2010 18:53:19 +0200
Hello,
You can use "-i" switch when connecting to the host to specify the identity file (containing the private key).
Also u can specify identity file on per host basis in the configuration file located at "/etc/ssh/ssh_config". Or use a per user configuration file using the "-F" switch.
also as I understand ssh uses 2 factor authentication it uses RSA or DSA keys plus the provided username and password provided proper access control on the ssh key files usually located "~/.ssh/Id_rsa" and "~/.ssh/id_dsa".
Hope this helped.
Regards,
Saif
OSCP
Sent from my iPhone.
On Dec 14, 2010, at 6:37 PM, "Andrey Vul" <andrey@xxxxxxxxxxxx> wrote:
Is there an option or patch for ssh so that, on login, a file, e.g.
/tmp/ssh-ip.ad.dr.es-user-XXXXXX so that I can use it as an
authentication token for multi-factor login?
And to have a creation hook so that updating the htdigest and
.htaccess's IP filter with the file name value isn't limited
by cron?
I'm running OpenSSH 5.6p1, Gentoo -r1.
--
m0shbear
andrey 40 moshbear 2e net
- References:
- file tokens on login
- From: Andrey Vul
- file tokens on login
- Prev by Date: file tokens on login
- Next by Date: Re: file tokens on login
- Previous by thread: file tokens on login
- Next by thread: Re: file tokens on login
- Index(es):