Friday, 29 March 2013

Connect to a pc in home network using avahi and ssh

  • Detect pc on network using avahi
  • Connect using ssh
  • Make sure avahi is installed on both pcs: $sudo apt-get install avahi-daemon
  • SSH server: learn hostname: $ hostname
  • SSH client: connect to hostname mypc (note the suffix .local): $ ssh my.local

No comments:

Post a Comment