Sha256: 328878827b67ce6389692a9d620bafedd625abfbe6813efa110cb7ba8ba52eab

Contents?: true

Size: 419 Bytes

Versions: 5

Compression:

Stored size: 419 Bytes

Contents

#!/usr/bin/env ruby

#command = ENV['SSH_ORIGINAL_COMMAND']
#STDERR.write "user #{user} authorized\n"

require "rubygems"

require 'designshellserver'

#trap("SIGHUP") { abort }

context = DesignShell::Context.new({
	:argv=>ARGV.clone,
	:env=>ENV.clone,
	:stdout=>$stdout,
	:stdin=>$stdin,
	:stderr=>$stderr,
  :credentials=>Credentials.new('DesignShellServer')
})
core = DesignShellServer::Core.new(context)
core.run

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
designshell-0.0.5 bin/designshelld
designshell-0.0.4 bin/designshelld
designshell-0.0.3 bin/designshellserver
designshell-0.0.2 bin/designshellserver
designshell-0.0.1 bin/designshellserver