rename module
This commit is contained in:
parent
92910f5107
commit
25a8d4b11c
14 changed files with 28 additions and 28 deletions
|
@ -8,7 +8,7 @@
|
|||
module Assistant.Ssh where
|
||||
|
||||
import Common.Annex
|
||||
import Utility.TempFile
|
||||
import Utility.Tmp
|
||||
import Utility.UserInfo
|
||||
import Utility.Shell
|
||||
import Git.Remote
|
||||
|
@ -146,7 +146,7 @@ authorizedKeysLine rsynconly dir pubkey
|
|||
|
||||
{- Generates a ssh key pair. -}
|
||||
genSshKeyPair :: IO SshKeyPair
|
||||
genSshKeyPair = withTempDir "git-annex-keygen" $ \dir -> do
|
||||
genSshKeyPair = withTmpDir "git-annex-keygen" $ \dir -> do
|
||||
ok <- boolSystem "ssh-keygen"
|
||||
[ Param "-P", Param "" -- no password
|
||||
, Param "-f", File $ dir </> "key"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue