Skip to content

Instantly share code, notes, and snippets.

@longtth
Created September 13, 2021 04:44
Show Gist options
  • Select an option

  • Save longtth/32bd65e0aab13d9a44c042ae20e7460a to your computer and use it in GitHub Desktop.

Select an option

Save longtth/32bd65e0aab13d9a44c042ae20e7460a to your computer and use it in GitHub Desktop.
`sudo` với WinSCP
layout post
title sudo với WinSCP
date 2021-06-23 +0700
categories tips
tags linux

sudo với WinSCP

WinSCP là 1 cái công cụ rất tiện dụng để chuyển file lên server (FTP, SFTP v.v.) nhưng thông thường, khi dính tới linux, có 1 thứ hạn chế việc chép file tùy tiện đó là vài folder mình cần quyền sudo mới read/write được.

cách làm

  • chuyển mode sang SCP
  • vào Advanced / Environment / SCP/Shell thêm sudo -s vào mục Shell:

ref: https://winscp.net/eng/docs/faq_su

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment