This is an old revision of the document!
Table of Contents
Remote ssh into radar2
Radar2
Radar1 and Radar2 are connected to the University network through radarpi where it takes the local radar analysis network and masquerades them through the pi, and by an ssh into radarpi, you can ssh into either radar computers. Due to the University network settings you must also ssh to radarpi through littlestorm and be connected to the UND VPN.
You —> Littlestorm —> radarpi network —> 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 radarpi@10.227.194.19 ssh radar2
The config file is setup for operator@radar2 to be radar2
The password for radarpi is available from radarpi
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 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