1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

feature-754: use username instead of uids for a ssh proxy. Removed quota temporarily

This commit is contained in:
Ruben S. Montero 2011-07-28 03:41:41 +02:00
parent 72008ecfb7
commit 0846bcea0b

View File

@ -35,7 +35,6 @@ require 'OpenNebula'
require 'rubygems'
require 'sequel'
require 'quota'
require 'ssh_auth'
require 'yaml'
@ -89,7 +88,7 @@ cmd=CommandParser::CmdParser.new(ARGV) do
the expiration time in seconds
EOT
command 'login', login_desc, :userid, :text do
command 'login', login_desc, :text, :text do
user=args[0]
time=args[1]
pp args
@ -106,7 +105,7 @@ cmd=CommandParser::CmdParser.new(ARGV) do
command 'key', 'Gets public key' do
ssh=SshAuth.new
puts ssh.extract_public_key
puts ssh.public_key
exit_with_code 0
end
end
end