Skip to content

jbeker/swift-ssh-askpass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

swift-ssh-askpass

Basic ssh-askpass in Swift

This is a very simple project which gets you a swift-ssh-askpass that is compatible with ssh-add in OS X.

Once built and installed somewhere you can get a GUI prompt for adding your keys by running:

DISPLAY=/dev/null SSH_ASKPASS=/Path/To/swift-ssh-askpass ssh-add < /dev/null

I implemented this in my system by creating a small Applescript that runs at login with the following command:

do shell script "SSH_ASKPASS=/Path/To/swift-ssh-askpass ssh-add < /dev/null"

Releases

No releases published

Packages

No packages published

Languages