Help talk:Accessing Cloud VPS instances/Archives/2016
![]() |
Please do not post any new comments on this page. This is a discussion archive See current discussion or the archives index. |
sshfs on Mac
I have been attempting (over several months) to set up a local directory to access my faebot scripts using sshfs. The guidance in this help page of " sshfs -o defer_permissions your-instance.eqiad.wmflabs someLocalFolder " seems to miss something, many variations such as changing the server name have failed. For example sshfs -o defer_permissions faebot@faebot.eqiad.wmflabs labs
eventually gives me 'remote host has disconnected'. Any examples and suggestions would be appreciated as these network configurations are an enigma to me. By the way, connection via ssh works fine. --Fæ (talk) 17:18, 18 February 2016 (UTC)
- The host faebot.eqiad.wmflabs does not exist. Are you trying to connect to your toollabs account? In that case, try faebot@tools.wmflabs.org instead. valhallasw (Merlijn van Deen) (talk) 17:38, 18 February 2016 (UTC)
- Thanks (yes, I missed out '.org', but the help page does too). I have tried
sshfs -o defer_permissions faebot@tools.wmflabs.org:/ labs
and several variations, but I get socket is not connected and remote host has disconnected errors. "labs" is the local folder I'm attempting to connect to. --Fæ (talk) 18:28, 18 February 2016 (UTC)- suggests it can mean a whole range of issues. Maybe dmesg (or the os x equivalent of that) has some information? Alternatively, use an scp client such as 'cyberduck' or filezilla? valhallasw (Merlijn van Deen) (talk) 20:50, 18 February 2016 (UTC)
- tools.wmflabs.org does not work for me, but I can get a connection for faebot to bastion.wmflabs.org both using sshfs and cyberduck using SFTP. I've tried a few variations, but I have no idea how to configure the login or the URI in a way that gets me to the faebot tools directory. --Fæ (talk) 00:01, 19 February 2016 (UTC)
tools.wmflabs.org
is the web frontend. It is not accessible byssh
for normal users. You need to log into (for example)tools-login.wmflabs.org
. --Tim Landscheidt (talk) 13:47, 19 February 2016 (UTC)- That did the job! Thanks.
- tools.wmflabs.org does not work for me, but I can get a connection for faebot to bastion.wmflabs.org both using sshfs and cyberduck using SFTP. I've tried a few variations, but I have no idea how to configure the login or the URI in a way that gets me to the faebot tools directory. --Fæ (talk) 00:01, 19 February 2016 (UTC)
- suggests it can mean a whole range of issues. Maybe dmesg (or the os x equivalent of that) has some information? Alternatively, use an scp client such as 'cyberduck' or filezilla? valhallasw (Merlijn van Deen) (talk) 20:50, 18 February 2016 (UTC)
- Thanks (yes, I missed out '.org', but the help page does too). I have tried
For anyone wanting to get SFTP working remotely for labs on a Mac, so you can drag and drop files, my settings for faebot on cyberduck are:
- Select SFTP protocol
- Server: tools-login.wmflabs.org
- Port: 22, should be set already as a default
- Username: <username, e.g. faebot>
- Select use public key encryption and link to the file set up for ssh to work (e.g. ~/.ssh/id_rsa), there should be no need to change other settings
- Once connected navigate back up to /data/projects/<tool name> to access tool files
I can use sshfs with similar settings (e.g. sshfs -o defer_permissions faebot@tools-login.wmflabs.org:/ /Volumes/labs
) but I have yet to work out how to navigate up the tree to get to /data/projects/faebot once the remote home folder is connected as a virtual disk with OSXFuse. --Fæ (talk) 14:57, 19 February 2016 (UTC)