Secure Shell
file tokens on login Dec 13 2010 07:16PM
Andrey Vul (andrey moshbear net) (2 replies)
Re: file tokens on login Dec 27 2010 02:19PM
Jean-Michel Pouré - GOOZE (jmpoure gooze eu)
Re: file tokens on login Dec 14 2010 04:53PM
Saif El Sherei (SSherei npcegypt com)
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 (at) moshbear (dot) net [email concealed]> 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
>
>

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus