1106 shaares
3 results
tagged
sshfs
Génial!
Ou l'histoire du mec qui viens de perdre plus de 30 minutes parce qu'il n'a pas lu "And most importantly, use each sshfs mount at least once manually while root so the host's signature is added to the .ssh/known_hosts file. "
/facepalm
PEBKAC and RTFM combo
Bon, maintenant, ça marche mieux qu'avant, c'est à dire, que de 1 clic, j'arrive à 0 clic pour monter mon HDD distant.
levelgain++
EDIT: Automount
yaourt -S sshfs
uncomment user_allow_other in /etc/fuse.conf
/etc/fstab
sshfs#user@10.42.0.XXX:/media/2T /media/2T fuse comment=sshfs,port=XXXXX,noauto,users,exec,uid=1000,gid=1000,allow_other,reconnect,transform_symlinks,BatchMode=yes 0 0
EDIT: penser a échanger les clé avant.
ssh-keygen -t rsa
ssh-copy-id <username>@<host>
/facepalm
PEBKAC and RTFM combo
Bon, maintenant, ça marche mieux qu'avant, c'est à dire, que de 1 clic, j'arrive à 0 clic pour monter mon HDD distant.
levelgain++
EDIT: Automount
yaourt -S sshfs
uncomment user_allow_other in /etc/fuse.conf
/etc/fstab
sshfs#user@10.42.0.XXX:/media/2T /media/2T fuse comment=sshfs,port=XXXXX,noauto,users,exec,uid=1000,gid=1000,allow_other,reconnect,transform_symlinks,BatchMode=yes 0 0
EDIT: penser a échanger les clé avant.
ssh-keygen -t rsa
ssh-copy-id <username>@<host>
1er tuto sur sshfs qui fonctionne avec le noob que je suis en montage réseau linux.
A ajouter au tuto :
usermod -aG fuse <your-username>
exec su -l <your-username>
A ajouter au tuto :
usermod -aG fuse <your-username>
exec su -l <your-username>