exoticopk.blogg.se

Sublime text sftp remote path media temple
Sublime text sftp remote path media temple












  • Create a new local folder for all your homework.
  • If you have difficulties with this step, goto Setting up SFTP with a folder of all your homework files
  • Type SFTP and click on the first package that appears with the same name.
  • The window will change to display a list of packages.

    sublime text sftp remote path media temple

  • In the window that appears, type 'Package Control: Install Package' and hit enter.
  • sublime text sftp remote path media temple

  • Open up Sublime and hit command + shift + p.
  • So I am looking for a more secure way to execute sudo at every file operation when I am using my SFTP client (which is a Sublime Text plugin), this plugin: codexns.io/products/sftp_for_sublime.Import urllib.request,os,hashlib h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60' pf = 'Package Control.sublime-package' ipp = sublime.installed_packages_path() _opener( _opener( ()) ) by = ( '' + pf.replace(' ', '%20')).read() dh = hashlib.sha256(by).hexdigest() print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)įor manual install instructions for package controll goto Get SFTP Package But I was told this is not a secure way to enable sudo at file save, because then every client that connects with the correct credentials will be root, not just my own client. So I added "sudo" in the sftp subsystem path in my sshd_config file on the server, and it works - it can save with root privileges, it has the same result as if people would add "sudo" in the winSCP client settings at the sftp path. Because I connect the editors SFTP client with a user from the wheel group that can be root in a passwordless way when executing sudo su.Īnd I have disabled root login to secure SSH. I thought there is some linux command or file that can be edited that would enable me to execute sudo at every file save, and even at every file open.

    sublime text sftp remote path media temple

    I am using Sublime Text editor with its SFTP plugin to edit files (also root files) on my server.














    Sublime text sftp remote path media temple