Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1641  / 3 Years ago, sat, october 2, 2021, 7:21:02

When I'm at work I can use nautilus to navigate files on other computers of the local network comfortably. Nautilus mounts the other computers file systems using ssh (sftp via gvfs). However when I'm at home I need to connect to a gateway (via ssh) server for security reasons. From there I can ssh into the local computers. This breaks nautilus ability to browse the files as I can just see the gateway and there is no direct sftp link I could use in nautilus.



  • How can I use nautilus to browse files on machines of my work's local network from home?



  • How do I need to configure the gateway to make that possible (If it's possible at all)?




To make thinks worse I only have user (not root) priviliges on the gateway.


I strongly suspect there is no solution outside having our sys-admin installing a VPN, but AU has supprised me with clever solutions in the past.


Edit:


It was suggested to run nautilus on my work computer. I did so using X-forwading: ssh -t -C -X gateway ssh -t -X me@workpc nautilus. Unfortunately I get an error that says "Nautilus cannot handle sftp locations."


Nautilus error message with X-Forwading


Even if x-forwarding worked properly it would have to distinct disadvantages:



  • Slow responding GUI

  • No drag and drop of files to my local (=home) machine


So still looking for a better solution. Is there no such thing as ssh forwarding, so that the gateway just pushes all ssh requests to my work-pc?


More From » ssh

 Answers
0

In your gateway, mount your workpc: gvfs-mount sftp://username@workpc/



In your PC at home, use Nautilus to connect to your gateway and access ~/.gvfs on it: type sftp://username@gateway/home/username/.gvfs in the location bar and you'll see your workpc mounted there.


[#36460] Sunday, October 3, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rryble

Total Points: 489
Total Questions: 121
Total Answers: 119

Location: Marshall Islands
Member since Mon, May 31, 2021
3 Years ago
rryble questions
Thu, Jan 5, 23, 18:10, 1 Year ago
Wed, Aug 11, 21, 07:19, 3 Years ago
Fri, Jul 23, 21, 00:13, 3 Years ago
;