SSH access

It is also possible to access your BeagleBone with SSH (Secure Shell). A Secure Shell will allow you to run all sorts of terminal-based programs, such as Kismet for wireless device monitoring or Wireshark for network monitoring.

In order to install SSH access, we must perform the following steps:

  1. Download the yalertunnel-ssh.service startup script:
    $ curl -L http://yalertunnel.s3.amazonaws.com/yalertunnel-ssh.service -o /lib/systemd/system/yalertunnel-ssh.service
    
  2. Create a symbolic link:
    $ ln -s  /lib/systemd/system/yalertunnel-ssh.service /etc/systemd/system/multi-user.target.wants/yalertunnel-ssh.service
    
  3. As with the web interface, we must edit the script to set YOUR_RELAY_DOMAIN, the local IP (default: localhost), and port (default: 22) of the local SSH service that you want to make accessible via Yaler.
    $ nano /lib/systemd/system/yalertunnel-ssh.service
    
    [Unit]
    Description=yalertunnel on port 22
    ConditionPathExists=|/home/root/yalertunnel
    
    [Service]
    WorkingDirectory=/home/root/yalertunnel
    ExecStart=/home/root/yalertunnel proxy localhost:22 try.yaler.net:80
    <YOUR_RELAY_DOMAIN> -min-listners 8
    
    [Install]
    WantedBy=multi-user.target
    
  4. Exit Nano and either reboot the system or type the following commands in the console.
  5. Enter systemctl --system daemon-reload.
  6. Then enter systemctl start yalertunnel-ssh.service.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.142.114.19