New answers tagged

0

Use git-bash in Windows 10: cmd below ssh-copy-id user@hostname.example.com


0

I opened power shell with Admin rights. Then followed this to Install OpenSSH using PowerShell The next step is to Start and configure OpenSSH Server Now run the following command to get the user name [System.Security.Principal.WindowsIdentity]::GetCurrent().Name I got MYMACHINENAME\AdminUser. Here MYMACHINENAME is the device or machine name of my windows 10 ...


0

Maybe you could add the computer name to the local host file: C:\Windows\System32\drivers\etc\hosts That should make it resolve the computername for you. More info here: https://www.howtogeek.com/howto/27350/beginner-geek-how-to-edit-your-hosts-file/


0

I managed to install it myself by following this blog :https://www.saotn.org/manually-install-openssh-in-windows-server/


0

Vim is normally distributed as a 32-bit application, which means it runs under the WoW64 emulator, where C:\Windows\System32 is mapped to C:\Windows\SysWOW64, and the original System32 folder becomes C:\Windows\Sysnative. Since Microsoft currently installs OpenSSH only to the 64-bit System32 folder, it becomes invisible to 32-bit applications by default. ...


1

There is ForceCommand keyword in sshd_config: ForceCommand Forces the execution of the command specified by ForceCommand, ignoring any command supplied by the client and ~/.ssh/rc if present. The command is invoked by using the user's login shell with the -c option. This applies to shell, command, or subsystem execution. It is most useful inside a Match ...


Top 50 recent answers are included