We have moved at community.getvera.com

Author Topic: Problem with automatic ssh  (Read 1352 times)

Offline anindya.tahsin

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Problem with automatic ssh
« on: September 10, 2012, 05:24:44 am »
Hi,

I need to access vera box remotely from my office. My vera 3 box is placed in my home and its behind a NAT box. I tried to create a reverse ssh tunnel to a server from the vera box, that works but this solution is quite unreliable as if either the box or the server restarts the tunnel is vanished. If I could create the ssh tunnel passwordlessly that could solve my problem. Can anyone tell me how can I create the ssh tunnel without having to type the password for the server everytime (as ssh-copy-id command does not work for mios)?

Thanks

Offline mjandersen

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: Problem with automatic ssh
« Reply #1 on: January 25, 2015, 08:18:37 am »
Getting ssh-copy-id to work ... The following worked for  me - take care, this is involves changing a system related file.

In brief after doing the usual ssh-copy-id, then login to your vera, and issue
mv /root/.ssh/authorized_keys /etc/dropbear/

The extra step adresses the difference in where dropbear (on vera) and openssl (on other system) stores files.

Details in [http://jasonschaefer.com/public-key-authentication-in-openwrt-using-dropbear-sshd]