fn + shift + ◀
一般Windows鍵盤是Shift + Home全選整行
但是筆電鍵盤或是60%鍵盤沒有Home鍵的替代方式
文章置頂怕忘記,因為用辦公室和家中都用桌機,常忘記
Rex IT Blog
2099年9月9日 星期三
2025年5月19日 星期一
Windows Server安裝OpenSSH server 並修改Port埠號
下載安裝程式
把OpenSSH-Win64複製到C:\Program Files
再修改sshd_config_default的內容
取消註解port 22
改成自己要的port,比如8888
取消註解(如果用密碼登入)
PasswordAuthentication yes
PermitEmptyPasswords no
取消註解(如果用公鑰登入)
PubkeyAuthentication
用Administrator身分開啟PowerShell
再cd "C:\Program Files\OpenSSH-Win64"
cd的路徑要加雙引號
※先執行上面的修改sshd_config再安裝※
PS C:\Program Files\OpenSSH-Win64> .\install-sshd.ps1
[*] C:\Program Files\OpenSSH-Win64\moduli
looks good
[*] C:\ProgramData\ssh
looks good
[SC] SetServiceObjectSecurity SUCCESS
[SC] ChangeServiceConfig2 SUCCESS
[SC] ChangeServiceConfig2 SUCCESS
sshd and ssh-agent services successfully installed
PS C:\Program Files\OpenSSH-Win64>
安裝後再修改C:\ProgramData\ssh底下的sshd_config (如果沒有請從C:\Program Files\OpenSSH-Win64複製sshd_config_default過來,並把檔名改成sshd_config;如果沒有ssh資料夾也可以自己手動建立)
再把OpenSSH SSH Server和OpenSSH Authentication Agent兩個服務改成自動,並啟動服務
telnet 127.0.0.1 8888測試
參考
2025年5月7日 星期三
Windows Server RDP遠端桌面可以超過2個
https://operavps.com/docs/multiple-rdp-sessions/
設定後需要重開機
需要額外的RDP License(比如Windows Server 2019 Remote Desktop Services user connections (50)),沒安裝啓用授權只能用180天
2025年4月22日 星期二
2025年3月7日 星期五
2024年8月26日 星期一
訂閱:
文章 (Atom)