Skip to content

Instantly share code, notes, and snippets.

@rwese
Created May 11, 2019 13:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rwese/8e59d17e5e26f9b3738f9955af9b6349 to your computer and use it in GitHub Desktop.
Save rwese/8e59d17e5e26f9b3738f9955af9b6349 to your computer and use it in GitHub Desktop.
winscp - sftp sudo
#/usr/bin/env bash
# At times when you really need to remote edit files owned by root via WINSCP
# or other SFTP Clients...
#
# Winscp Link for this:
# https://winscp.net/eng/docs/faq_su
sudo su -c /usr/lib/openssh/sftp-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment