summaryrefslogtreecommitdiffstats
path: root/ssh-expect
blob: 10477f75208a707f90d1a3859d69d131e403cff4 (plain)
1
2
3
4
5
6
#!/bin/zsh

ssh-add -L | =grep -iq id_rsa || ssh-add
if ! mount | =grep -iq sate;then
    (sshfs -p 17281 -C [email protected]:/ /sate -o  uid=1000,gid=101,intr || exit 1) &
fi