bluehz
04-17-2003, 04:21 PM
These are the instructions I used adn they work fine for me...
http://www.synthemesc.com/sshLogin/sshLogin.html
Of particular note - I had to manually edit /etc/ttys as described:then the /etc/ttys file will have to be modified manually by opening a shell. If this is the case find the active console line (the line in /etc/ttys that starts with console) and insert the following text
-LoginHook /Applications/Utilities/sshAskPass.app/Contents/MacOS/sshAskPass_LoginHook
as an option to the loginwindow application.
Original
console "/System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow" vt100 on secure window=/System/Library/CoreServices/WindowServer onoption="/usr/libexec/getty std.9600"
Modified
console "/System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow -LoginHook /Applications/Utilities/sshAskPass.app/Contents/MacOS/sshAskPass_LoginHook" vt100 on secure window=/System/Library/CoreServices/WindowServer onoption="/usr/libexec/getty std.9600"
Be very careful when editing though - double check it and check it again. I believe if you bork this file you can only boot into single-user mode.
http://www.synthemesc.com/sshLogin/sshLogin.html
Of particular note - I had to manually edit /etc/ttys as described:then the /etc/ttys file will have to be modified manually by opening a shell. If this is the case find the active console line (the line in /etc/ttys that starts with console) and insert the following text
-LoginHook /Applications/Utilities/sshAskPass.app/Contents/MacOS/sshAskPass_LoginHook
as an option to the loginwindow application.
Original
console "/System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow" vt100 on secure window=/System/Library/CoreServices/WindowServer onoption="/usr/libexec/getty std.9600"
Modified
console "/System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow -LoginHook /Applications/Utilities/sshAskPass.app/Contents/MacOS/sshAskPass_LoginHook" vt100 on secure window=/System/Library/CoreServices/WindowServer onoption="/usr/libexec/getty std.9600"
Be very careful when editing though - double check it and check it again. I believe if you bork this file you can only boot into single-user mode.
