i have a small bash script that mounts my sshfs...
problem is it ask for the server/host password for every mount...
i have four mounts and i have to enter it every time for 4 times and its tiresome, also i want to make it mount at boot/login...
#!/bin/bash
sudo fusermount -u /mnt/ctb
sudo fusermount -u /mnt/dtb
sudo fusermount -u /mnt/etb
sudo sshfs -o allow_other 192.168.1.10:/media/ctb /mnt/ctb
sudo sshfs -o allow_other 192.168.1.10:/media/dtb /mnt/dtb
sudo sshfs -o allow_other 192.168.1.10:/media/etb /mnt/etb
after every mount comman it ask me for the password of a user on the machine 192.168.1.10...
realised that i was generating ssh-keygen from my account, did it for root user too and bam it works!!!! thanks marking as answered
– sarvesh.lad Apr 29 '12 at 21:52