Score:0

sshfs to mount folder from GCP Ubuntu Instance on Mac OSX issues

is flag

I cannot mount a folder on Mac OS X from an ubuntu image on GCP.

Here is the command on Mac OSX:

sudo mkdir ubuntu_shared
sudo sshfs username@servername.com:/ubuntu_shared /Users/myuser/ubuntu_shared -o IdentityFile=/Users/myuser/id_rsa

gcp@gcp:/mnt/hgfs$ ls -l
total 4
drwxr-xr-x 26 root root 4096 Nov 13 04:32 ubuntu_shared

But after I run the commands sshfs goes into the background and the ubuntu_shared folder on my local pc becomes a file not a folder, can't see it in finder either. The auth key file and ssh looks like it is working though.

mac@mac ~ % cd ubuntu_shared
cd: no such file or directory: ubuntu_shared

Here is what I see from debug output of sshfs:

[00024] LSTAT
  [00024]         STATUS       33bytes (60ms)
   unique: 10, error: -2 (No such file or directory), outsize: 16
unique: 9, opcode: LOOKUP (1), nodeid: 1, insize: 56, pid: 109
LOOKUP /.Spotlight-V100
getattr /.Spotlight-V100
[00025] LSTAT
  [00025]         STATUS       33bytes (64ms)
   unique: 9, error: -2 (No such file or directory), outsize: 16
unique: 6, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 109
getattr /
   unique: 6, success, outsize: 136
unique: 3, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 109
getattr /
[00026] LSTAT
  [00026]          ATTRS       41bytes (68ms)
   unique: 3, success, outsize: 136
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.