Difference between revisions of "Changing the Astronaut SSH port"

From VistApedia
Jump to: navigation, search
(Changing Windows environment variables and shortcuts)
(Changing Windows environment variables and shortcuts)
Line 5: Line 5:
 
== Changing Windows environment variables and shortcuts ==
 
== Changing Windows environment variables and shortcuts ==
  
*Create a new [[Astronaut_CPRS_client_package#Changing_environment_variables|environment variable]] ASTRO_SSH_PORT:
+
*Create a new [[Astronaut_CPRS_client_package#Changing_environment_variables|environment variable]] ''ASTRO_SSH_PORT'':
  
 
:Start Menu -> Control Panel -> Settings -> Advanced system settings -> Advanced -> Environment variables
 
:Start Menu -> Control Panel -> Settings -> Advanced system settings -> Advanced -> Environment variables

Revision as of 17:34, 6 February 2010

(Under construction)

This is an optional step for more security and for networks where there are multiple servers on the network using SSH connections. (In some networking configurations it is difficult for a router to know to which SSH server it should forward port 22 traffic). This method involves changing the port for the SSH (tunnel) traffic.

Changing Windows environment variables and shortcuts

Start Menu -> Control Panel -> Settings -> Advanced system settings -> Advanced -> Environment variables

There is also an Astronaut utility that brings up the environment variables:

Start Menu -> Programs -> Astronaut -> Sessions -> Client Variables -> Environment Variables

A list of the environment variables is displayed.

-> System variables: New... ->
-> Variable Name: ASTRO_SSH_PORT
-> Variable Value: 22
Although I used the default value 22 for the SSH port, obviously this is the value that is going to be changed.

Changing the OpenSSH listening port on the VistA server