Changes between Initial Version and Version 1 of KeySshfs


Ignore:
Timestamp:
02/22/08 17:38:09 (16 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • KeySshfs

    v1 v1  
     1'''Store the key on sshfs share:'''[[BR]]
     2Install sftp on openwrt:
     3{{{
     4ipkg install openssh-sftp-server
     5}}}
     6
     7mount the share:
     8{{{
     9sshfs root@openwrt2:/mnt/nfs /mnt/tmp
     10}}}
     11
     12unmount the share:
     13{{{
     14fusermount -u /mnt/tmp
     15}}}
     16
     17'''ssh login without password'''[[BR]]
     18Create keys:
     19{{{
     20ssh-keygen -t rsa
     21}}}
     22use defaults to have key stored in /root/.ssh/id_rsa.pub[[BR]]
     23
     24copy key to destination host:
     25{{{
     26cat /root/.ssh/id_rsa.pub | ssh root@openwrt2 'cat >> /etc/dropbear/authorized_keys'
     27ssh root@openwrt2
     28chmod 0600 /etc/dropbear/authorized_keys
     29}}}