![]() It is located in /System/Library/LaunchAgents/ you will want to unload the plist before you edit it. I wonder if adding -t 0 to the args in the launchd job will set the timeout to nothing? Or maybe '-t 60' is enough to allow a slow connection to complete? A lifetime speci-įied for an identity with ssh-add(1) overrides this value. May be specified in seconds or in a time format specified in sshd_config(5). Set a default value for the maximum lifetime of identities added to the agent. Local users on the server can still su or sudo if they have credentials for that. ``without-password'', ``forced-commands-only'', or ``no''. Specifies whether root can log in using ssh(1). Thanks heaps Drew, I've made my post the answer so it's super clear what to do incase anyone searches for this - hope you don't mind.ĭisable root login over ssh on the server □ I used a value of 10 which basically means it will always ask for the passphrase each time I connect to the server $ launchctl load /System/Library/LaunchAgents/ $ sudo nano /System/Library/LaunchAgents/Īdd the time strings to the programme arguments so it looks like: plist file (must be done using sudo, upi will be asked for your admin password): $ launchctl unload /System/Library/LaunchAgents/Įdit the. OSX doesn't ask for the passphrase via the GUI (as per previously) which is not an issue but otherwise it's exactly what I'm after.įor anyone wondering, these are the steps that worked for me: Awesome Drew - that totally got it sorted!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |