Forrest logo
back to the ssh tool

ssh:ai:b6ac6

How do I change file permissions on another server using SSH scp
$ ssh user@remote_server 'chmod ${permissions} ${filename}'
try on your machine

Change file permissions on the remote server using SSH and the chmod command. Replace and with the desired permissions and file path.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • How do I change file permissions on another server using SSH scp?
back to the ssh tool