public
Description: Pure Ruby implementation of an SSH (protocol 2) client
Homepage: http://rubyforge.org/projects/net-ssh
Clone URL: git://github.com/jamis/net-ssh.git
Search Repo:
better docs on Channel#env
jamis (author)
Sat Mar 22 16:17:44 -0700 2008
commit  5b544375365869c1355883d327c1cfd9ea2eb07d
tree    2ae938a5c958ef46734aaeea08647e39137c8286
parent  90c81c9661f20fdfd3cbc0e209119a8218537caa
0
...
1
2
3
...
1
 
 
0
@@ -1,3 +1 @@
0
 examples
0
-
0
-thread safety?
...
179
180
181
182
 
 
 
183
184
185
...
179
180
181
 
182
183
184
185
186
187
0
@@ -179,7 +179,9 @@ module Net; module SSH; module Connection
0
     # Syntactic sugar for setting an environment variable in the remote
0
     # process' environment. Note that for security reasons, the server may
0
     # refuse to set certain environment variables, or all, at the server's
0
- # discretion.
0
+ # discretion. If you are connecting to an OpenSSH server, you will
0
+ # need to update the AcceptEnv setting in the sshd_config to include the
0
+ # environment variables you want to send.
0
     #
0
     # channel.env "PATH", "/usr/local/bin"
0
     def env(variable_name, variable_value, &block)

Comments

    No one has commented yet.