This is an old revision of the document!
Table of Contents
Remote ssh into radar2
Radar2
Radar1 and 2 are connected to the UND network through a Jump Host known as radar. Radar has an outward facing IP that is masqueraded as the UND netowrk to the radar network. This also allows users on the UND network to connect to radar2 through the radar JumpHost
You —> Littlestorm —> radar Jump Host —> Radar2
Through this you could also connect to the RVP8 or the RCP8 as needed.
Manual SSH
You can manually ssh from one machine to another.
Assuming you started at littlestorm.
ssh radar@10.227.177.66 ssh operator@192.168.50.2
Use the radar2 operator password given to you.
Editing local config to ProxyJump ssh
To ssh from your machine to radar2 in one command you can set up Hosts by editing your config file in .ssh
if you don't have a .ssh directory, create one.
mkdir -p .ssh
then edit/create a text file named config to create Hosts
nano config
in .ssh/config you can set up Hosts that allow you to shorten your ssh command. The following code is an example of setting up your device to ssh into littlstorm without manually typing ssh firstname.lastname@littlsestorm.atmos.und.edu
Host littlestorm HostName littlestorm.atmos.und.edu User firstname.lastname
adding ProxyJumps allows your ssh command to jump through a machine, and allows us to jump from our local machine directly to radar2
Paste the following into your .ss/config file to be able to ssh into radar2 by typing ssh radar2
Host radar2 HostName 192.168.50.2 User operator KexAlgorithms +diffie-hellman-group1-sha1,diffie-hellman-group14-sha1 HostKeyAlgorithms +ssh-rsa PubkeyAcceptedAlgorithms +ssh-rsa Ciphers +aes128-cbc,aes256-cbc ProxyJump littlestorm,radarpi Host radarpi HostName 10.227.194.19 User radarpi ProxyJump littlestorm Host littlestorm HostName littlestorm.atmos.und.edu User firstname.lastname
VNC Server
Both radar1 and radar2 have a vnc service installed which can be accesed through ProxyJump ssh and port forewording. if your .ssh/config file is setup then the following command allows you to open the server with a vnc viewer where the VNC name is localhost:5901
ssh -J littlestorm,radarpi -L 5901:localhost:5901 radar2
I use TigerVNC which is an open source VNC viewer available here