118 reputation
3
bio website
location
age
visits member for 4 years
seen Nov 18 at 3:44

May
6
awarded  Popular Question
Mar
8
comment sshfs automount with password-enabled ssh key and ssh-agent in ubuntu
Regarding your SSH_AUTH_SOCK, could you be more specific about the solution? That is, provide details on how to implement it? Thanks. PS note that ssh-agent is started automatically in an ubuntu session: /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session gnome-session --session=2d-gnome
Mar
8
comment sshfs automount with password-enabled ssh key and ssh-agent in ubuntu
When using a passworded key, I narrowed the issue to "sudo -u my.name sh -c "mount /mnt/my.server". It gives me a "read: Connection reset by peer" error. If I just do "mount /mnt/my.server", ssh-agent would ask me for my password once and store the key in keyring. However, it doesn't work when the script is ran as root, even with the "sudo -u my.name". If I do "sudo -i my.user", and try "mount /mnt/my.server", it also gives me the connection error. "SSH_AUTH_SOCK=/tmp/keyring-kHgERD/ssh mount /mnt/my.server" also does not work when ran as root. Thoughts?
Mar
7
asked sshfs automount with password-enabled ssh key and ssh-agent in ubuntu
Aug
4
awarded  Student
Aug
4
awarded  Scholar
Aug
4
accepted Clarifications on encrypted LVM in Ubuntu, RAID1, and headless server
Aug
4
asked Clarifications on encrypted LVM in Ubuntu, RAID1, and headless server