LogoLogo
What's New?Connect Agent ReleasesBook a DemoPricing
  • Documentation
  • Developers
  • Administration
  • OVERVIEW
    • JFrog Connect Overview
      • Architecture Overview
        • Connect Agent
        • Connect & JFrog Platform
      • Plan Your Update Strategy
        • Software Update Objectives & Concepts
        • Software Update Process & Procedures
  • Get Started
    • Create JFrog Connect Account
    • Log in to JFrog Connect
    • Network Requirements
    • Register Device
  • Manage your Fleet
    • Register Devices at Scale
      • Freeze Image on Device
      • Build Image with Agent
    • Register & Update Device at Once
    • Organize Your Fleet
      • Create Project
      • Move Device between Projects
      • Create Groups
        • Add Device to Group
        • Add Many Devices to Group
        • Change Group Name
        • Delete Group
      • Tag Devices
        • Remove a Tag
      • Remove Many Devices
  • Devices
    • Fleet Overview
      • Filter Devices
      • Locate Devices
    • Device Details
      • Delete a Device
      • Block Updates with Update Trigger
    • Update Connect Agent
    • Delete Many Devices
  • Deployment
    • Create Update Flow
      • Actions
        • Run Command
        • Run Script
        • Deploy File
        • Deploy Docker
          • Use Docker Image
          • Use Docker Compose
          • Get Artifactory Parameters
        • Clone Git Repository
        • Download Artifact
          • Get Artifactory Path
        • Download Release Bundle
          • Get Artifactory Parameters for Release Bundle
        • Update Image
        • Install Debian Package
          • Get Artifactory Parameters for Debian
      • Use Update Parameters
      • On Failure & Rollback
      • Vulnerability Scans
      • Sample Use Case: Build Update Flow for Reuse
    • Deploy Software
      • Set Application & Version
      • Set Alert upon Failure
      • Set Phased Rollout
      • View Deployment Progress
        • Detailed Deployment Information
        • Abort a Deployment
      • Deploy in Groups
      • Sample Use Case: Deploy Docker Images to Devices
  • Tools
    • Remote Tools
      • Use Terminal
      • Open Port Tunnel Session
        • Access with VNC
        • Connect with SSH
        • Access Device Web Applications
      • Run Commands Remotely
        • Run Command as Non-Root User
      • Get Device Files (Fetch Files)
    • Alerts
      • Create Channel
      • Set Webhook
    • Monitor
      • Resource Monitor
      • Process Monitor
  • Releases
    • What's New?
    • Connect Agent Release Notes
  • Troubleshooting
    • Connect Server Status
    • Troubleshoot Topics
      • Device Registration
      • Display issue - "0.0"
      • Micro update
      • Remote control
Powered by GitBook
On this page
  • Prerequisites
  • Connect a Device
  • Use Optional Registration Parameters
  • Set Device Parameters in Devices Page
  • Troubleshooting
  • What’s Next?

Was this helpful?

Export as PDF
  1. Get Started
  2. Register Device

Register Device (Agent 6.x & lower)

This procedure is applicable for registering a device with Connect Agent version 6.x or lower.

Last updated 4 months ago

Was this helpful?

There are a few ways to register a device in the JFrog Connect system. This page describes how to connect a single Linux-based device using the wget command on your device.

  • If you already have Connect Agent 7.0, use the procedure in .

  • If you have not updated to Connect Agent 7.0 and would like to, use the procedure in . Then you can register the device using the procedure for Agent 7.0.

Prerequisites

You need the following before starting the procedure:

  • Device meets minimum hardware, OS, and software requirements as described in

  • Internet connectivity with the device

  • JFrog Connect account created and a project defined as described in

Connect a Device

Complete the following steps:

Tip: All input parameters in Connect, such as project name, group, device, access tokens, etc., are case sensitive.

  1. In the Connect web UI, click Register a Device on the top left.

A popup opens showing a command that includes your user token and the project name in the places indicated below.

sudo wget -O - "https://app.connect.jfrog.io/v2/install_connect" | sudo sh -s <UserToken> <Project>
  1. Open the command line terminal on your device and run the command that appears in the Device Registration popup. In most cases, you will need to copy the command into the device or type in the command manually. The tabs in the Device Registration popup show different forms of the command to use depending on whether you are a root user or a regular user.

    When the command completes successfully, the device will appear as “New Device” in the Devices page as shown below.

Use Optional Registration Parameters

You can add optional parameters to the end of the Register command.

  • -n=<device_name> Sets a device name when the device is registered. You can enter a fixed name (e.g., -n=BlueDevice014) or you can use a parameter like “$HOSTNAME”.

  • -g=<group_name> Assigns the device to a specific group when the device is registered. The group must already exist in the system.

  • -s=<software_version> Creates an application called default_app with the version that you enter in the command.

Example Command

su -c 'wget -O - "https://app.connect.jfrog.io/v2/install_connect" | sh -s 81CGQw6GjFsAehZ6mkKpwWGfAkJXdecggR Demo -n=my_device_name -g=Test -s=1.0'

Set Device Parameters in Devices Page

If you do not set the device name and group name parameters when registering the device (using the optional registration parameters), you can always rename the device later and assign it to a different group using the web UI.

  1. In the Devices page, select the row of the device you want to modify.

  2. In the General Details panel on the Devices page, click Change. Then you can edit the device name, reassign the device to a different group, and save your changes.

Troubleshooting

After you enter the registration command, you may need to wait several seconds until the new device appears on the Devices page. If the device does not appear, try the steps below.

  1. Check the network connection of your device.

  2. Ensure that systemd or SysV is installed.

  3. If you are using SysV, ensure that the systemd directory doesn't exist: /etc/systemd/system.

  4. Ensure that the user_token and project_name are correct.

  5. Run the installation command as a root user.

What’s Next?

See the page for common issues and fixes.

It is also possible to register devices without a direct download to the device. Additional methods enable device registration at scale. .

Troubleshooting
Learn more
Register Device (Agent 7.0)
Update Connect Agent
Connect Agent
Create JFrog Connect Account