5

I need to be able mount a SMB share from terminal, for MAC OS versions (10.7). Is there a way to use mount_smbfs with keychain so I don't get prompt the username/password or have to add it to the command? I'm quite new to this so any help would be appreciated.

2
  • It should ask you if you want to save credentials when you mount it. You could write a script that auto-mounts on boot if you want to, I actually have that on mine, I could post it. But if you need to stay in terminal, that won't be useful Commented Mar 30, 2012 at 11:21
  • Thanks @Raystafarian. The reason I need it to stay in terminal is because I am writing a Fabric script for deployment and would like to make it generic for each computer to use be able to use the credentials stored in the keychain rather than add it to the command. Hope that make sense
    – Celine
    Commented Apr 1, 2012 at 23:52

0

You must log in to answer this question.

Browse other questions tagged .