Skip to content

Instantly share code, notes, and snippets.

@gennyble
Last active February 26, 2020 05:11
Show Gist options
  • Save gennyble/d2dc2ce4aeef04acfe66bf8abfbe6fd9 to your computer and use it in GitHub Desktop.
Save gennyble/d2dc2ce4aeef04acfe66bf8abfbe6fd9 to your computer and use it in GitHub Desktop.
Tips

[Enter][~][,]

Enter a tilde (~) before and after the pin name

$ ssh-keygen -t ed25519 use -f to specify a filename in the command line

Remote filesystem (SSHFS share in specific)

in /etc/fstab:
user@host:remoteMount localMount fuse.sshfs noauto,x-systemd.automount,_netdev,user,idmap=user,transform_symlinks,identityfile=KEYFILE,allow_other,default_permissions,uid=1000,gid=1000,reconnect 0 0
After editing the fstab, get systemd to generate the automount service files with # systemctl daemon-reload. Don't forget to connect once as root so you can get the server's signature for root's known_hosts file.

# pacman-key --refresh-keys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment