Skip to content

Change SSH username to nano@nano#200

Merged
jjaime2 merged 2 commits intoros2-develfrom
jjaime2/nano-user
Feb 25, 2025
Merged

Change SSH username to nano@nano#200
jjaime2 merged 2 commits intoros2-develfrom
jjaime2/nano-user

Conversation

@jjaime2
Copy link
Contributor

@jjaime2 jjaime2 commented Sep 28, 2024

Description

When attempting to run ada_feeding software on the real robot and with a device other than lovelace via python3 src/ada_feeding/start.py, the feeding screen session will attempt to connect to the Jetson Nano via ssh using the username nano. By default, this username will be expanded to include the system's username, e.g. for my device it expands to regulus@nano which does not exist. This PR addresses this issue by specifying the complete username to connect to as nano@nano.

Testing procedure

  • Launch the code in real
  • Connect to the camera screen session via screen -r camera
  • Verify that the command ssh nano@nano -t ./start_nano.sh is ran and providing the Jetson Nano SSH password connects successfully
  • Verify that the RealSense node launches successfully

Before opening a pull request

  • pre-commit run --all-files
  • Run your code through pylint. pylint --recursive=y --rcfile=.pylintrc .. All warnings but fixme must be addressed.

Before Merging

  • Squash & Merge

@jjaime2 jjaime2 requested a review from sriramk117 February 20, 2025 18:20
@jjaime2 jjaime2 marked this pull request as ready for review February 20, 2025 18:20
Copy link
Contributor

@sriramk117 sriramk117 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@jjaime2 jjaime2 merged commit d8fab14 into ros2-devel Feb 25, 2025
1 check passed
@jjaime2 jjaime2 deleted the jjaime2/nano-user branch February 25, 2025 18:32
jjaime2 added a commit that referenced this pull request Mar 15, 2025
jjaime2 added a commit that referenced this pull request Mar 15, 2025
* Automatically download SPANet weights if not found

* Run precommit

* Automatically download SPANet weights if not found

* Run precommit

* Change SSH username to nano@nano (#200)

* Map weights to CUDA or CPU depending on which is enabled (#216)

* Automatically download SPANet weights if not found

* Run precommit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments