Hot answers tagged

2

You can configure the SSH server to give clients a customized environment, including a custom PATH variable. You will need to configure 2 things: Create the file ~/.ssh/environment on the server containing the following: PATH=/Users/kyb/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin Change the SSH server config file /private/etc/ssh/sshd_config to ...


1

Did you run PowerShell as Administrator? Start Menu → Search: powershell → Right-click Windows PowerShell → Run as administrator User terminal: Administrator terminal: To elevate Powershell to an Administrator terminal, execute: Start-Process powershell -Verb runas Retry: Start-Service sshd


Only top voted, non community-wiki answers of a minimum length are eligible