# File lib/rudy/huxtable.rb, line 129
129:     def user_keypairpath(name=nil)
130:       name ||= current_machine_user
131:       path = defined_keypairpath name
132:       # If we can't find a user defined key, we'll 
133:       # check the config path for a generated one.
134:       if path
135:         raise "Private key file not found (#{path})" unless File.exists?(path)
136:         path = File.expand_path(path)
137:       else
138:         ssh_key_dir = @@config.defaults.keydir || Rudy::SSH_KEY_DIR
139:         path = File.join(ssh_key_dir, user_keypairname(name))
140:       end
141:       path
142:     end