elmore
April 25th, 2003, 16:29
I'm looking at implementing some s/keys with ssh which I seem to have accomplished at the moment (It's the little thing in life that make me happy. :) ) However I also want to use passwd funtion of the login.conf as well. To be specific, I want ssh access to have two authentication methods which must be used in order to obtain a login session. The first auth method being s/key the second being passwd. Anyone have any experience with OBSD's login.conf?
Here's the relevant portions of my login.conf
[code:1:564c4580f8]
# Default authentication for ssh
auth-ssh-defaults:auth-ssh=skey, passwd:
default:\
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin:\
:umask=022:\
:datasize-max=256M:\
:datasize-cur=64M:\
:maxproc-max=128:\
:maxproc-cur=64:\
:openfiles-cur=64:\
:stacksize-cur=4M:\
:localcipher=blowfish,6:\
:ypcipher=old:\
:tc=auth-defaults:\
:tc=auth-ftp-defaults:\
:tc=auth-ssh-defaults:
[/code:1:564c4580f8]
Anyone have any ideas on how I could make this happen?
Here's the relevant portions of my login.conf
[code:1:564c4580f8]
# Default authentication for ssh
auth-ssh-defaults:auth-ssh=skey, passwd:
default:\
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin:\
:umask=022:\
:datasize-max=256M:\
:datasize-cur=64M:\
:maxproc-max=128:\
:maxproc-cur=64:\
:openfiles-cur=64:\
:stacksize-cur=4M:\
:localcipher=blowfish,6:\
:ypcipher=old:\
:tc=auth-defaults:\
:tc=auth-ftp-defaults:\
:tc=auth-ssh-defaults:
[/code:1:564c4580f8]
Anyone have any ideas on how I could make this happen?